Learn Git Branches & Merging
See what happens behind every command.
Try an idea
You want to try a new idea while keeping your original work. Create a separate line of saved versions, then bring the idea back when it is ready.
- 01
Try a recipe variation without changing your main recipe.
- 02
See how switching branches changes the file you are viewing.
- 03
Bring your finished experiment back into main.
You will understand why two branch names can point to the same save, then separate as you work.
Your classic pancake recipe has one saved version on your computer. This practice starts at that version, like the end of lesson 1. No GitHub connection is needed.
Each lesson starts from this setup so you can replay it independently.Follow the buttons or try commands yourself. Finish with two recap questions.
Starting point: an empty folderRecipe analogy & setup
Type a command or choose a quick command. Your simulated history stays here when you switch tabs.
More quick commands
mainClick a commit to inspectGitHub hosts your online copy. Teamwork is a separate path.
