Branching puzzles for Git
Version control playground
From the open-source project Learn Git Branching
Clear levels on a live diagram and learn to branch and merge in Git.
“Make it mine” asks you to sign in first. On the Free plan, your copy is your one app; you can delete it any time.
“Try it” opens the authors’ own copy, not yours.

- Made by
- pcottle
- Licence
- MIT
- Popularity
- 34.1k stars on GitHub
- Uses
- Just a browser
What you can do
- Work through levels, from basics to remote repositories
- Count the commands you use on each level and try to match the record
- Try anything in a sandbox, then undo or start over
Who it’s forStudents and new developers getting started with Git
Once it’s yours
- Your own copy, at its own address
- Anyone with its address can open it, until you choose who can
- Change it with your own coding agent
Ideas for changing it
Once it’s live, give any line below to your coding agent.
Skip the sandbox and start on the first level
Add a level built from our team's own workflow
Hide the remote repository levels for now
Source and licence
It comes from the open-source project Learn Git Branching: its authors, pcottle, published the code for anyone to use and change. Its licence covers the code, not the name, so the copy on Tofu goes by a plain name.
Its licence, MIT, lets you use and change it freely, as long as you keep the authors’ copyright notice.
Your copy is the version you copied; the authors’ later updates don’t arrive by themselves.
More like this
LOOPYCause and effect simulatorPress play and watch a change snowball or settle down.
Snap!Block programming languageDrag blocks together to make animations and games, with no code to type.
Flexbox FroggyWeb layout gameWrite CSS to get the frogs onto their lily pads, and learn to arrange a web page along the way.
Describe an app, or bring one from your agent. Tofu puts it online.
Works with any coding agent
© 2026 Tofu
trytofu.ai