Git & GitHub quiz: 60 questions

60 questions from the 15 lessons of Git & GitHub. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.

Test yourself

60 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.

How many questions?

What the quiz covers

  1. Version control and your first repository (4 questions)
  2. Staging and committing (4 questions)
  3. Viewing changes: diff, log and blame (4 questions)
  4. Inside Git: objects and hashes (4 questions)
  5. Inside Git: trees and commits (4 questions)
  6. Branches, HEAD and revision names (4 questions)
  7. Working with branches (4 questions)
  8. Merging (4 questions)
  9. Resolving merge conflicts (4 questions)
  10. Undoing changes: restore, reset, revert and the reflog (4 questions)
  11. Rebasing (4 questions)
  12. Stashing work and tagging releases (4 questions)
  13. Remotes: clone, fetch, pull and push (4 questions)
  14. Pull requests and conventional commits (4 questions)
  15. .gitignore and GitHub Actions (4 questions)