Git
Git Quizzes
Git knowledge checks.
Interactive exercises that help you practice, check your understanding, and find what to revisit.
Start here
Git Foundations Quiz
Check your understanding of the working tree, index, first commit, and basic Git history inspection.
Explore the collection
Exercises
Browse the complete collection and choose the resource that matches what you want to practice or understand.
-
ExercisesBeginner
Git Foundations Quiz
Check your understanding of the working tree, index, first commit, and basic Git history inspection.
~5 min read Start exercise -
ExercisesBeginner
Git Repository Creation and Cloning Quiz
Check your understanding of repository initialization, bare repositories, cloning, and clone-state verification.
~6 min read Start exercise -
Exercises
Git Tag Verification Quiz
Check whether you can verify signed tags and interpret verification results without overclaiming what cryptographic verification proves.
Start exercise -
ExercisesBeginner
Git Version, Help, and Configuration Quiz
Check your understanding of Git version reporting, built-in help, configuration scope, and safe repository-local setup.
~5 min read Start exercise -
Exercises
Git Archive Quiz
Check whether you can create and reason about Git release archives without confusing archives with Git history.
Start exercise -
Exercises
Git Stashing Quiz
Check whether you can predict and control the state saved by Git stash creation.
Start exercise -
Exercises
Git Stash Inspection, Application, and Recovery Quiz
Check understanding of stash inspection, restoration, removal, and branch-based recovery.
Start exercise -
ExercisesBeginner
Git Removing and Moving Tracked Files Quiz
Check your understanding of removing, untracking, moving, and renaming tracked paths.
~6 min read Start exercise -
Exercises
Git Ignore Files and Check Ignore Quiz
Check your understanding of Git ignore patterns and git check-ignore diagnostics.
Start exercise -
Exercises
Git Diff: Comparing Repository States Quiz
Check your understanding of Git diff boundaries, staged and unstaged changes, commit comparisons, and diff output.
Start exercise -
Exercises
Git Show: Reading Committed Snapshots Quiz
Check your understanding of git show, committed snapshots, commit metadata, introduced changes, and its boundary with git diff.
Start exercise -
Exercises
Git Revision Selection and Ancestry Queries Quiz
Check advanced revision selectors, merge-parent shorthands, range algebra, object and message selection, and ancestry-focused history traversal.
Start exercise -
ExercisesAdvanced
Git prune-packed Quiz
Check your understanding of redundant loose objects and packed-object cleanup.
~20 min read Start exercise -
Exercises
Git Bisect Quiz
Check understanding of manual bisecting, automated exit-status classification, skipped revisions, replayable bisect logs, reset, and alternate terms.
Start exercise -
Exercises
Git Blame Quiz
Check your understanding of line attribution, movement and copy detection, history traversal, ignored revisions, and machine-readable blame output.
Start exercise -
Exercises
Git Branch Management Quiz
Check whether you can safely inspect, create, move, rename, copy, and delete local Git branches.
Start exercise -
Exercises
Git Bundle Quiz
Check your understanding of Git bundles, prerequisites, advertised refs, and offline transfer.
Start exercise -
Exercises
Git cat-file Quiz
Check object-type, existence, pretty-printing, and batch-inspection concepts for git cat-file.
Start exercise -
Exercises
Git Cherry-Pick Quiz
Check understanding of selective commit application, new identities, no-commit mode, conflicts, sequencer controls, and merge mainlines.
Start exercise -
Exercises
Git Clean Quiz
Check your understanding of Git clean previews, force requirements, directory scope, ignored files, and safe cleanup.
Start exercise -
Exercises
Git Describe Quiz
Check your understanding of git describe candidate refs, output, and dirty-working-tree reporting.
Start exercise -
Exercises
Git Detached HEAD Quiz
Check your understanding of detached HEAD, direct commit references, detached commits, inspection, and reattachment.
Start exercise -
Exercises
Git Fast-Forward vs True Merge Quiz
Check whether you can distinguish fast-forward updates, true merge commits, and explicit merge policies from real repository state.
Start exercise -
Exercises
Git Grep Quiz
Check your understanding of repository-aware Git search.
Start exercise -
Exercises
Git HEAD Quiz
Check your understanding of attached HEAD, symbolic references, branch tips, and unborn branches.
Start exercise -
Exercises
Git index-pack Quiz
Check your understanding of pack indexing, reverse indexes, streamed packs, keep files, strict validation, and the boundary between indexing and verification.
Start exercise -
Exercises
Git Interactive Rebase Quiz
Check your understanding of interactive rebase todo actions, commit reshaping, autosquash, and verification.
Start exercise -
Exercises
Git Lightweight and Annotated Tags Quiz
Check whether you can distinguish tag references from tag objects, create lightweight and annotated tags, and apply Git's documented -m implication rule.
Start exercise -
Exercises
Git ls-tree Quiz
Check your understanding of Git tree inspection, recursion, path selection, output modes, NUL termination, and custom formatting.
Start exercise -
Exercises
Git Mailbox Patch Series Quiz
Check your understanding of mailbox patch application, commit metadata, and git am recovery states.
Start exercise -
Exercises
Git Merge Conflict Resolution Quiz
Check your understanding of resolving unmerged Git paths, staging the resolved index, and separating resolution from merge completion.
Start exercise -
Exercises
Git Merge Conflicts Quiz
Check whether you can identify and inspect Git’s unresolved merge state from real repository evidence.
Start exercise -
Exercises
Git Merge Continue and Abort Quiz
Check your understanding of completing a resolved merge, abandoning an in-progress merge, and verifying the resulting history and repository state.
Start exercise -
Exercises
Git Merge vs Rebase vs Cherry-Pick Quiz
Check understanding of the distinct state transformations performed by merge, rebase, and cherry-pick.
Start exercise -
Exercises
Git mktag Quiz
Check your understanding of tag-object construction, validation, inspection, and the boundary between objects and refs.
Start exercise -
Exercises
Git mktree Quiz
Check your understanding of Git tree-object construction, ls-tree input, validation, NUL input, and batch construction.
Start exercise -
Exercises
Git Multi-Pack Index Quiz
Check your understanding of Git multi-pack indexes and their relationship to pack storage and integrity tools.
Start exercise -
Exercises
Git Multiple Worktrees Quiz
Check your understanding of linked worktrees, branch creation, detached worktrees, and worktree listing.
Start exercise -
Exercises
Git name-rev Quiz
Check your understanding of Git symbolic revision naming, ref filtering, stdin annotation, and fallback behavior.
Start exercise -
Exercises
Git Non-Fast-Forward Rejection and Safe Integration Quiz
Check your understanding of rejected pushes, fetching current remote state, merge and rebase reconciliation, and force-with-lease boundaries.
Start exercise -
Exercises
Git Notes Quiz
Check your understanding of Git notes, notes refs, copying, merging, and cleanup.
Start exercise -
Exercises
Git Object Storage Quiz
Check your understanding of loose objects, packfiles, repacking, and pack verification.
Start exercise -
Exercises
Git pack-objects Quiz
Check your understanding of Git pack construction, object selection, and the boundary between pack-objects and higher-level pack maintenance.
~35 min read Start exercise -
Exercises
Git pack-refs Quiz
Check your understanding of packed refs, selection patterns, pruning, and the boundary between ref storage and object storage.
Start exercise -
Exercises
Git Patch Workflows Quiz
Check your understanding of mailbox patch generation, raw diff application, and the boundaries between format-patch, apply, and am.
Start exercise -
Exercises
Git prune Quiz
Check your understanding of unreachable-object pruning, dry runs, expiration, reachability protection, and maintenance boundaries.
Start exercise -
Exercises
Git Pull Quiz
Check your understanding of git pull as fetch followed by integration, explicit sources, fast-forward behavior, divergent histories, and integration boundaries.
Start exercise -
Exercises
Git Push Quiz
Check your understanding of publishing local refs, refspecs, fast-forward safety, dry runs, and push boundaries.
Start exercise -
Exercises
Git Range-Diff Quiz
Check your understanding of commit-series comparison, patch pairing, range forms, and review controls.
Start exercise -
Exercises
Git read-tree Quiz
Check your understanding of reading trees into the index, temporary indexes, tree merges, index stages, and working-tree updates.
Start exercise -
Exercises
Git Rebase Model Quiz
Check your understanding of rebase as a local history transformation, its commit-selection boundary, rewritten identities, and ancestry verification.
Start exercise -
Exercises
Git Rebase Quiz
Check your understanding of running rebase, --onto, in-progress controls, and verification.
Start exercise -
Exercises
Git Recovering Abandoned Commits Quiz
Check understanding of reflog-first recovery, git fsck fallback investigation, reattaching unreachable commits, and recovery limits.
Start exercise -
Exercises
Git References and Branch Tips Quiz
Check whether you can distinguish commit objects from movable branch references and reason about branch tips.
Start exercise -
Exercises
Git Reflog Quiz
Check understanding of reflog scope, HEAD and branch reflogs, reflog-based revision names, and retention boundaries.
Start exercise -
Exercises
Git Remote Management Quiz
Check your understanding of local Git remote administration, URL configuration, rename behavior, and removal boundaries.
Start exercise -
Exercises
Git Remote Names and Remote-Tracking References Quiz
Check your understanding of remote names, remote-tracking references, and fetch state transitions.
Start exercise -
Exercises
Git Repository Integrity Quiz
Check your understanding of git fsck, reachability, connectivity checks, and integrity findings.
Start exercise -
Exercises
Git Repository Maintenance Quiz
Check your understanding of Git garbage collection, maintenance tasks, pruning, and the boundary between housekeeping and integrity checking.
Start exercise -
Exercises
Git Reset Quiz
Check reset path form, HEAD movement, reset modes, ORIG_HEAD, and the boundary between reset, restore, and revert.
Start exercise -
Exercises
Git Restore Quiz
Check restore destinations, default sources, explicit sources, and the boundary between local state correction and history operations.
Start exercise -
Exercises
Git Restore, Reset, and Revert Quiz
Test whether you can select an undo operation from the repository state that must change.
Start exercise -
Exercises
Git Revert Quiz
Check history-preserving reverts, conflicts, continuation, merge mainlines, and undo-operation boundaries.
Start exercise -
Exercises
Git Safe Recovery Laboratories Quiz
Test whether you can identify and use explicit recovery anchors for controlled Git recovery exercises.
Start exercise -
Exercises
Git show-index Quiz
Check your understanding of Git pack-index inspection, output fields, object formats, and the boundaries with index-pack and verify-pack.
Start exercise -
Exercises
Git show-ref Quiz
Check your understanding of local reference listing, exact verification, existence tests, tag dereferencing, hash output, and stdin filtering.
Start exercise -
Exercises
Git Sparse-Checkout Quiz
Check your understanding of Git sparse-checkout modes, selection commands, repair, sparse-index, and boundaries.
Start exercise -
Exercises
Git Switch Quiz
Check whether you can reason precisely about branch switching and local-change safety.
Start exercise -
Exercises
Git Tag Inspection and Deletion Quiz
Check whether you can list, inspect, filter, and delete Git tag references without confusing reference deletion with object deletion.
Start exercise -
Exercises
Git unpack-objects Quiz
Check your understanding of pack expansion, validation modes, recovery, and object-storage boundaries.
Start exercise -
Exercises
Git Upstream and Tracking Configuration Quiz
Check understanding of upstream branch relationships and tracking configuration.
Start exercise -
Exercises
Git Worktree Lifecycle Quiz
Check your understanding of locking, unlocking, moving, repairing, removing, and pruning Git worktrees.
Start exercise -
Exercises
Git write-tree Quiz
Check your understanding of converting the index into tree objects, subtree writing, and object validation.
Start exercise