Learn Git Branching

learngitbranching.js.org

Visit Website

An interactive visual sandbox that teaches Git operations by animating repository trees in real time as you type commands.

This browser-based tutorial pairs a live terminal with an animated commit graph that updates instantly as you run git commands. Branch creation, rebasing, cherry-picking, and merging all produce visual node-tree changes that build genuine spatial intuition for version control.

Why it is useful

Git mental model is notoriously hard to build from text documentation alone. By making every command produce an immediate animated graph response, this tool closes the gap between typing a rebase and understanding what actually happened to the commit tree — the key insight most developers spend years acquiring.