Skip to content

Git

A practical guide to Git for developers: how it works underneath, the branching strategies teams use, and how to choose a version control system.

The rules for commits, branches and versions are in EG-014, and the Git primer is a shorter introduction.

Chapter Covers
How Git works Snapshots and the commit graph, the index, branches, merging, rebasing, reflog, bisect, tags, reset and revert, fixing mistakes
Branching strategies Trunk-based development, GitHub flow, GitFlow and release branches, back-porting, merge strategies, anti-patterns, monorepos
Choosing a version control system What to weigh when picking or changing a version control system

The chapters of the Git guide.