Pro Git
The official Git book, free in full, covering everyday use and then the internals that explain why Git behaves the way it does. Read chapter ten and Git stops being frightening.
Book
Other
Scott Chacon and Ben Straub
2 to 3 weeks
All
Free
What it is
The complete Git book, free online in many languages, running from basic usage through branching, remotes and rewriting history, and then into how Git is actually implemented.
The chapter that changes everything
Chapter ten, on Git internals. Almost everyone learns Git as a set of memorised commands, which works until something unexpected happens and there is no model to reason from. Learning that Git is a content addressed store of immutable objects with branches as movable pointers turns rebase, reset and reflog from dangerous incantations into obvious operations.
How to read it
Chapters two and three for daily use, then jump to ten. The middle chapters are better as reference than as sequential reading.
Best for: every developer. Particularly anyone who has ever deleted a repository and re-cloned it to escape a Git problem.
Ready to start?
Opens on Scott Chacon and Ben Straub in a new tab.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Every session is free; a few slots open each week.
Follow along
New writing, resources and project ideas land here first.