Git

Commits, branches and history, understood from the inside.

Git from the inside out, for every developer: snapshots and the object model, the working tree, index and repository, commits and history, branches, merging, conflicts and rebase, remotes, pull requests and branching strategies, commit hygiene, undoing mistakes, the reflog, stash and worktrees, bisect and blame, big repositories and monorepos, signing and secrets in history, and hooks. Vendor-neutral: plain Git first, then how GitHub, GitLab, Bitbucket, Azure Repos and self-hosted forges each add pull requests, reviews and protections. By the end, Git stops being a list of memorised commands and becomes a model you can reason with.

6
chapters
22
modules
~8h
of learning
22
live now
22 modules

Take modules in any order. The route suggests one that builds up naturally.

Take a look inside

The big picture, before the details

A change's journey through Git: the three areas, commits, branches, merging, remotes and pull requests, with undo and recovery always within reach. Watch the tour, or click any part.

workingstagingrepoorigin · pull requestreflog · revert · resethooks · signinga change's journey through Git

The three areas: edit in the working tree, stage what belongs together, commit it to the repository (modules 1–3).

A taste of modules 6 and 8: merge or rebase a feature branch and watch the commit graph change.

a11858d Initial commita1185b1d8e05 Add menub1d8e3ccd297 Add order form3ccd2feature35712f7 Fix typo35712HEAD→main

Two branches have moved apart. Merge or rebase them.

01

Foundations

What Git actually stores, and where.

4 modules · 85 min

02

Branching

Cheap branches, and the ways to bring work back together.

5 modules · 115 min

03

Collaboration

Working with other people's copies.

4 modules · 85 min

04

Undo and recovery

Getting out of trouble.

4 modules · 85 min

05

Scale and security

Big repositories, many projects, and trust.

4 modules · 85 min

06

Capstone

Put it all together.

1 module · 35 min