Watch every Git command move.
A safe terminal that draws where every change goes.
Type a command to see where it goes.
TerminalType
help for commandsWelcome to the Git It Done simulator.
Type 'help' to list commands, or follow a guided mission.
- Working dir1 changeindex.html
- Staging areaemptyready for git add
- Local repono reporun git init
- GitHub (remote)not connectedgit remote add origin
- Stashempty
No repository yet. Run git init or git clone to start the graph.
Git is local. GitHub is online.
Git
- What it is
- The time machine on your laptop. It's a tool you install that keeps track of every change you make to your code file-by-file.
- Where it lives
- Local
- How you use it
- Command line
- Who it's for
- Personal
GitHub
- What it is
- The cloud storage for Git. It's a website where you can upload your Git time machine so others can see it, download it, and collaborate.
- Where it lives
- Cloud
- How you use it
- Website
- Who it's for
- Collaborative
Every command, drawn as a map
Pick a command to see where your changes move.
Takes a picture of your staged files and saves them permanently with a message describing what you did.
- Working dircleannothing to add
- Staging areaemptyready for git add
- Local repo1 commitHEAD → main
- GitHub (remote)not connectedgit remote add origin
- Stashempty
commit moved changes from Staging area to Local repo.
Starting from
git init git add .
$ git commit -m "Add navigation bar"[main (root-commit) 8d5f78b] Add navigation bar 1 file changed
Commit graph after
8d5f78b Add navigation bar
The same map, in plain text
Run git log --graph and Git draws your branches with characters.
$ git log --graph --oneline * e4f1a2c (HEAD -> main) Merge branch 'dark-mode'|\ | * 9b7d3e1 (dark-mode) Add dark theme toggle| * 51c08aa Style the toggle button* | 7a2f9c4 Fix typo in README|/ * 3d8e6b0 (origin/main) Add navigation bar* 0c5a1f7 Initial commit
Three guided missions
- The First RepositoryLearn how to initialize and save your first Git project.
git initgit statusgit add .git commit -m "Initial commit" - Connecting to the CloudLink your local project to a remote GitHub repository and push your changes.
git remote add origin https://github.com/user/my-app.gitgit push origin main - Branching OutLearn how to branch out to create a new timeline safely.
git branchgit checkout -b feature-dark-mode
Practice. Understand.
- 100% safe browser-based simulator
- Layman explanations for every command
- Guided step-by-step missions