Plays best on a computer.
Rotate your phone
This game plays better in landscape.
If the game won’t start
- Reload the page and press “Play” again.
- If you use an ad blocker, pause it on this site.
- Update your browser or try a different one.
- Private windows can block cookies; open the game in a normal tab.
Try these
Learn Git Branching
Peter Cottle and contributors
Keyboard/Mouse
Similar games
Learn Git Branching is an educational game that teaches Git through visual, interactive puzzles.
As you type commands like git commit, branch, merge and rebase, you watch the commit tree change live and try to match the goal tree in each level. With levels ranging from basic branching to remote repositories, it suits beginners and developers brushing up alike.
-
Step 1: Type Git commands into the command line on the left and press Enter.
-
Step 2: Use 'levels' to open the level list, 'show goal' to see the target tree and 'hint' for a tip.
-
Step 3: 'undo' reverts the last command and 'reset' restarts the level.
-
Step 4: Change the interface language with the language button at the bottom right.
- Keyboard
- Mouse
Keyboard
- Enter Other keys
Once the game starts, its controls are also shown on screen.
Full instructions
Type Git commands into the command line on the left and press Enter. Use 'levels' to open the level list, 'show goal' to see the target tree and 'hint' for a tip. 'undo' reverts the last command and 'reset' restarts the level. Change the interface language with the language button at the bottom right.
Credits and license
- Developer
- Peter Cottle and contributors
- License
- MIT
- Source
- github.com/pcottle/learnGitBranching
- Attribution
- Learn Git Branching by Peter Cottle and contributors (MIT); translations by the community. Bundled Font Awesome fonts (SIL OFL 1.1).
This game is hosted under the terms of its license.
Ratings and comments
Be the first to rate it
The average appears here once enough players have rated.
Rate this game
Write the first comment
Played it? Share what you think: the difficulty, your favourite level, a tip.
Comments could not be loaded.
