Chapter · Git

Branching & Integration

Branching is where Git becomes more than a save button. This chapter covers how lines of work split, rejoin, conflict, and become release points.

Topics
Topic 1

Branches in a Nutshell

Branch names, HEAD, commit graphs, and why making a branch is cheap.

12 min read
Topic 2

Switching & Checkout

Moving between branches, detached HEAD, clean working trees, and when checkout still appears.

12 min read
Topic 3

Merging

Fast-forward merges, true merge commits, merge bases, and how Git combines histories.

12 min read
Topic 4

Merge Conflicts

Conflict markers, resolution workflow, mergetools, index stages, and habits that reduce pain.

12 min read
Topic 5

Rebasing

Replay, interactive rebase, squashing, autosquash, and the line between local cleanup and public rewriting.

12 min read
Topic 6

Cherry-Pick & Patch Flow

Moving one change without merging a whole branch, plus the tradeoffs of patch-based integration.

12 min read
Topic 7

Tags & Releases

Lightweight tags, annotated tags, signed tags, version labels, and release points in history.

12 min read