$ git learn --from-scratch
Learn Git by using it.
Type Git commands and watch your project's history grow, branch and merge. Short lessons take you from “what is a repository?” to working with others on GitHub.
No account needed. Progress stays in this browser. Nothing you type can break anything.
- Commit b026582: Initial commit, labels: main, HEAD is here
A real (simulated) Git repository. Press the button to run the next command →
5 commands. One complete Git story.
Why it works
Git is easier once you can see what each command does. So everything you type is drawn as it happens.
- e3f1a09(HEAD -> main)Type real commands, see the result in the graph immediately
- 9b2c4d1Explain each idea with a small scene before asking for a command
- 51ad7e8Add an assisted terminal that explains every word you type
- c08e2f3Check challenges by the state of your repository, not your typing
- 7f9e011Simulate GitHub locally — clearly labelled, nothing leaves your browser
- 0d4b6aaInitial commit: learn Git by using it
Every lesson, five steps
About five minutes each, one idea at a time. Mistakes are expected — you can undo, retry or ask for a hint.
- discover
- a short interactive scene explains one idea
- watch
- step through a real command and what it changes
- try
- run it yourself, with a suggestion if you want one
- challenge
- reach a goal on your own; hints are free
- celebrate
- XP, stars, badges, and the next lesson unlocks
The curriculum
Twelve chapters, from your first commit to rescuing a broken main branch.
- 01Git Foundations3 lessonsBeginner
- 02Understanding History1 lessonBeginner
- 03Branching1 lessonIntermediate
- 04Merging3 lessonsIntermediate
- 05Rebasecoming soonIntermediate
- 06Undoing Changes2 lessonsAdvanced
- 07GitHub Fundamentals3 lessonsAdvanced
- 08Pull Requests4 lessonsAdvanced
- 09Team Collaboration3 lessonsAdvanced
- 10Advanced Git6 lessonsExpert
- 11GitHub Developer Workflows4 lessonsExpert
- 12Real-World Rescue Missions4 lessonsExpert
Learning that feels like a game
XP & levels
Every lesson and every new command you discover earns XP. Climb from Curious Newcomer to Gitverse Legend.
Three stars
Solve a challenge without the walkthrough and with few mistakes to earn all three stars — and a bonus.
Daily quests & goal
Three fresh quests every day and a daily XP goal you choose. Streaks are optional.
20 badges
From “Say cheese” (your first commit) to “Rescue mission” (recovering a lost commit).
Your first commit is three minutes away.
Git and GitHub are different things. Gitverse teaches both, and the simulated GitHub is always labelled so you know which is which.