Skip to main content

Reference and Selective Reading

You do not need to read the full books front-to-back for this module. Use the concept and practice pages first. Open these references when you need a cleaner source map, a deeper model, or more examples.

Read Only If Stuck

Concept-to-Source Map

Concept pageBest source if stuckWhy this source
Git Mental Model: Snapshots, HEAD, and ReferencesGit Model and ObjectsBest bridge from Git vocabulary to the actual storage model
The Staging Area and the Commit CycleStaging and History InspectionBest explanation of why the index exists and how staged vs unstaged state differs
Reading History, Diffs, and Repository StateStaging and History InspectionBest source for status, diff, log, and staged-vs-unstaged inspection
Branches, Merge, and RebaseBranches, Remotes, and RebaseBest source for pointer-based branch reasoning and rebase tradeoffs
Remotes, Fetch, Pull, and PushBranches, Remotes, and RebaseBest source for tracking branches and sync operations
Pull Requests, Code Review, and Conflict ResolutionCollaboration and Pull RequestsBest source for GitHub-style collaboration and merge-conflict behavior
Commit Discipline and Everyday WorkflowCollaboration and Pull RequestsBest source for topic-branch workflow and distributed-team patterns
Recovery with Reset, Stash, and ReflogRecovery and Safe UndoBest source for safe recovery moves and reflog use

Direct Source Shortcuts

If you need help with...Best source
Git vocabulary and HEADGit from the Bottom Up chunk 001
snapshots and the three statesPro Git chunk 006
why the index existsGit from the Bottom Up chunk 007
status, diff, and commit basicsPro Git chunk 012
branch pointers and HEADPro Git chunk 020
remote-tracking branchesPro Git chunk 025
fetch, push, and upstreamsPro Git chunk 026
pull requestsPro Git chunk 048
stash and reflogGit from the Bottom Up chunk 009
reset and the three treesPro Git chunk 068