Git & GitHub — Free Quiz Course

← All quiz courses

Test your Git knowledge: commits and the staging area, branching and merging, rebase, undoing mistakes, remotes, and GitHub workflows.

5 chapters, 50 questions. Free, no signup. Progress is saved in your browser.

~~~
  1. Chapter 1: Git Fundamentals
    What Git actually stores, the working tree vs staging area vs repository, making commits, .gitignore, and inspecting history.
  2. Chapter 2: Branching & Merging
    Creating and switching branches, what HEAD is, fast-forward vs merge commits, resolving conflicts, and the detached HEAD state.
  3. Chapter 3: Rebase & Rewriting History
    Rebase vs merge, squashing commits, amending, when rewriting history is safe, and finding bugs with git bisect.
  4. Chapter 4: Undoing Things
    Unstaging files, discarding changes, revert vs reset, recovering lost commits, fixing a forgotten file, and leaked secrets.
  5. Chapter 5: Remotes & GitHub
    Clone, fetch vs pull, push, adding remotes, SSH keys, forks and pull requests, and collaborating through GitHub.

Course completed

You finished every chapter — best score/.

~~~

How it works

Each chapter is a short quiz: one question at a time, with immediate feedback and an explanation after every answer. Wrong answers teach you as much as right ones.

Your progress is stored in your browser (localStorage), so you can leave and come back any time. Nothing leaves your machine, and there is no account or signup.

The questions are based on tutorials published on this site — every chapter links the related posts, and you can grab the free Git Cheat Sheet to study the whole topic.