Git MCQs

Git Quiz Topics

Explore Git concepts by choosing a subtopic below.

🟢 Beginner Level

Git Basics

What is Git, local vs remote repo, Git workflow.

Start Test
Git Configuration

git config, setting username/email, global vs local.

Start Test
Init/Add/Commit

Creating repos, staging, committing changes.

Start Test

🟡 Intermediate Level

Branching

Creating, switching, merging, deleting branches.

Start Test
Stash

Saving, listing, applying, and dropping stashes.

Start Test
Log & Diff

git log formats, filtering, and diff commands.

Start Test

🔴 Advanced Level

Git Rebase

Rebase vs merge, interactive rebase, squash.

Start Test
Git Remote

Adding, removing remotes, fetch, pull, push.

Start Test
Reset & Revert

Undoing changes safely, soft/mixed/hard reset.

Start Test