Git
Git Logic Puzzles: Predict the Output
120 Challenges to Sharpen Your Reading of Real Repositories
Sonny G. Sterling
Version Control · Vol 1 of 3
Git Logic Puzzles: Predict the Output
120 Challenges to Sharpen Your Reading of Real Repositories
You can run a Git command. Can you say what it will print before you press enter? 120 challenges in reading Git accurately.
Paperback$17.99
About this book
Most developers learn Git by doing — running a command, seeing what happens, moving on. It works until it doesn’t: a reset goes one commit too far, a merge lands somewhere unexpected, and the difference between knowing Git and guessing at Git becomes expensive. This book closes that gap.
120 challenges across 22 topic areas — the index and staging, log and ranges, remotes and tracking branches, diff, reset, restore, stash, tags, worktrees, detached HEAD. Each puzzle is one page: a repository shown as a real commit graph, a short sequence of commands, and one question with one right answer. Every answer was produced by running the command against Git 2.43 in a controlled environment. No terminal in the book — running a command tells you what happened; predicting it first is what builds the instinct that catches the mistake before it lands.
What's inside
120 challenges across 22 topic areas
Predict-the-output format
Every answer executed against Git 2.43
Index, log, remotes, diff, reset, stash, tags
Dot-grid working space on every page
No terminal needed to solve
Volume 1 of the Git Logic Puzzles series
Specifications
- Pages
- 150
- Published
- 30 July 2026
- ISBN / ASIN
- 979-8189595165
- Trim
- 7" × 10"
Also in the Git Logic Puzzles series
Reading now — Volume 1 of 3Git Logic Puzzles: Predict the Output
Git Logic Puzzles: Debug and RecoverVol 2 · View →
Git Logic Puzzles: Reconstruct the GraphVol 3 · View →