Run Git commands and watch files, commits, branches, and history change in real time. Learn professional workflows through interactive diagrams instead of memorizing commands.
Empty folder
Run git init to create a repository.
Watch files move through untracked, modified, staged, and committed with labeled transitions.
See branches as pointers — creating, switching, and diverging without copying a thing.
Merge, squash, and rebase side by side, with before-and-after graphs.
Feature branches, pull requests, review, and protected main — the way teams actually work.
Blobs, trees, commits, and refs — accurate, but built to be understood.
A safe terminal that executes real Git commands against a simulated repository.
Zone 1
The files you edit on disk.
Zone 2
The snapshot you're assembling for the next commit.
Zone 3
The committed history — a graph of snapshots.
The best default for most small pull requests.
When preserving the full story of a branch is valuable.
When you want every commit preserved but a straight-line history.
A searchable reference for 21+ commands — what each one does, its safety level, whether it rewrites history, and what it touches. Click “Visualize” to run it in the graph.
Browse commandsgit init
Create a new, empty Git repository in the current folder.
git status
Show the state of the working tree and staging area.
git add
Stage file content so it will be included in the next commit.
git commit
Record the staged snapshot as a new commit.
git branch
List, create, or delete branches.
git switch
Move HEAD to another branch (the modern, focused alternative to checkout).
“The staging area finally clicked when I watched a file sit in two states at once.”
“I use the merge-vs-rebase comparison to onboard every new engineer on the team.”
“Seeing HEAD move made detached HEAD stop being scary.”
Quotes are illustrative examples of how GitScope is used, not real endorsements.
Open the visualizer and run your first commit in under a minute.