🛤️ Main Track (main)
The main branch is the primary track.
This is usually the code running in production. No one should commit broken code
here! It must always stay stable.
🔀 Switch Track (branch)
A feature branch is a parallel track. You
can build, break, and test your new code entirely isolated from the main track. Once perfect,
you merge it back.
🚃 Train Cars (commits)
Each commit is a train car carrying a specific set of file changes. It also has an ID (like
a1b2) and it links to the car immediately behind it, forming the
unshakeable chain of history.
Welcome! Select a scenario to watch Git branches visualized.