Every command, one repo

This is a single Git repository living in your browser. Click commands on the left and watch the three areas, the branch pointers, and the commit graph all update from the same state — exactly the way the real commands compose. Nothing is saved; hit start over anytime.

Working tree

Branches

History

Undo

working tree

clean

staging area

clean

stash

empty

HEAD

main → c1

Commit graphc1HEAD → main

You're on main. Edit a file, or branch off and explore.

git initempty repository + first commit c1

Want the why behind each of these? Read the guide