🎮
MODULE 02 · 8 MIN READ
Recap + practice
Your Day 2 commands
git branch <name>create a universe (just a label)git switch <name>step into it · -c = create + step ingit merge <name>stand on the receiver, pull the giver ingit merge --abortpanic button — undo the mergegit branch -d <name>delete the label (commits stay)git commit -am "msg"stage tracked files + commit, one movegit logsee the universesPractice — match the graph
Below is a leveled playground: each level shows a target commit graph. Type real git commands in the terminal until yours matches it. Nothing can break — reset forgives everything.
🕹 GIT BRANCHING PLAYGROUND
0/7 levels ★
Level 1: First snapshots
commitWarm-up. Grow main by two more commits. Any file names, any messages.
🎯 GOAL GRAPH
shape matters, not the exact messages or hashes
YOUR GRAPH · on branch main
playground terminal
type real git commands — this is a fresh, isolated repo per level.
$
Homework — 10 minutes
Create two branches, edit the same line differently on each, merge, resolve — solo, while it's fresh.
Tomorrow
Day 3: your code leaves the laptop 🌍 — remotes, GitHub, and your first pull request. See you there.