Learn Git Visually
Every Git command, animated step by step on the same small project — so you see what it really does to your files, your history and your remote.
- 72 commands
- 275 options
- 15 scenarios
- 6 languages
Live: the Git simulator runs these four commands on a loop.
Everything Git hides, on screen
Every picture below is drawn live by the same simulator that runs the lessons — nothing is illustrated by hand.
See where every file lives
Each file shows its version on your disk, in the staging area and in the last commit — watch git add and git commit move it from one to the next.
See it in a lesson →Branches and merges, drawn as they happen
New commits appear, branch labels slide, a merge joins two lines. Rebase shows the old commits fading as the new ones take their place.
See it in a lesson →Your laptop and GitHub, side by side
fetch, pull and push show exactly what travels between your repository and origin — and why a push gets rejected.
See it in a lesson →Nothing disappears silently
A commit left behind by a reset stays on screen, dashed, until the reflog brings it back — so undoing mistakes stops being scary.
See it in a lesson →Real output, not screenshots
Every command runs in a Git simulator verified against real Git, so the terminal shows what Git itself would print.
See it in a lesson →Four ways to learn
Commands
72 commands · 275 optionsOne page per command: a full animated lesson, then every option with its own short demo and a recommendation.
--force-with-leaseGit ≥ 1.8.5RecommendedScenarios
15 scenariosReal situations from start to finish: your first commit, a merge conflict, a bad reset, a hotfix on a release.
$ git switch -c feature/login$ echo "export function login() {}" > login.js && git add login.js && git commit -m "Add login page"$ echo "login()" >> app.js && git commit -am "Call login on load"Workflows
GitHub flow · Git flow · Trunk-based · ForkingHow teams actually work, with the rules quoted from their sources and a team of four playing them out.
Playground
Free playType any command on the same project and watch it happen. Hints suggest what to try next.
cat index.htmlcode index.htmlgit add index.htmlDid You Know?
Made to be read by everyone
- Six languages — English · Français · Español · Português · Deutsch · العربية
- Light or dark — and four colour themes for the visualizations.
- Colour-blind mode — blue and orange instead of green and red, everywhere.
- Text size — from 90% to 130%, without breaking the layout.
All of it lives behind the gear button in the header.
Popular Commands
Start learning with the most commonly used Git commands