Learn
Learn Git, one concept at a time
Each lesson pairs a clear explanation with an interactive visualization you can play, step, and run in the visualizer.
- 01Beginner
Git fundamentals
The mental model: repository, working directory, staging area, commits, branches, and HEAD.
7 min - 02Beginner
The staging area
What git add really does, why the staged version is a snapshot, and how partial staging works.
6 min - 03Beginner
Commits
How a commit object is built, how it links to its parent, and how the branch and HEAD move.
6 min - 04Beginner
Branches
Branches are movable pointers. Learn how switching, diverging, and deleting work.
7 min - 05Intermediate
HEAD
What HEAD points at, how checkout and switch move it, and what detached HEAD means.
5 min - 06Intermediate
Merging
Fast-forward vs three-way merges, merge commits, and where conflicts come from.
8 min - 07Advanced
Rebasing
Replay commits onto a new base for linear history — and why rewriting shared history is risky.
8 min - 08Intermediate
Conflicts
Why conflicts happen, how to read markers, and how to complete the merge.
6 min - 09Intermediate
Remotes
Local vs remote, remote-tracking branches, and fetch, pull, and push.
7 min - 10Intermediate
Pull requests
The full lifecycle from issue to merged, reviewed change on a protected main.
8 min