Version control
Git
The handful of commands real projects use every day: status, add, commit, branch, merge, undo, push. Practised in a terminal, one command at a time.
9 lessons9 exercises~70 min
The curriculum
9 steps, in the order they make sense.
0/9exercises solved
01
Foundations
The mental model and your first repository
2 lessons · 2 exercises
02
Changes
Stage, commit and read the history
3 lessons · 3 exercises
- 03Staging: choosing what goes into the snapshotRead the status codes, add files on purpose, and see the difference before you commit.7 min→
- 04Commits: snapshots with a reasonRecord the staged changes with a message a future reader — usually you — can understand.8 min→
- 05Reading the historyFind out what happened, when, and which line came from where — without leaving the terminal.6 min→
03
Branching
Work on more than one idea at a time
2 lessons · 2 exercises
04
Recovery & remotes
Undo mistakes and share a repository
2 lessons · 2 exercises
9 lessons, 9 checked exercises. Every check runs in your browser.