Parallel Universes
level_progress
0%
steps 0/13 · xp 0/190
» Your Twin steps out of a doorway that wasn't there yesterday. “Whatever you're scared of ruining,” she says, “let me do it over here instead.”
on exit you can…
- 01Explain a branch as a safe copy where experiments happen.
- 02Name main as the official version of the project.
- 03Create a branch, switch between branches, and edit inside one.
- 04See how far a branch has drifted from main.
- 05Understand why teams never edit main directly.
$ man --list
# read the plain-english line, then the analogy, then say the last one out loud. # tick it when it clicks — 10xp each.
🌿 Branch
A copy of your project that you can change freely without touching the official version. Changes stay separate until you decide to bring them home.
# analogize
A parallel universe — or tracing paper laid over a drawing. Scribble all you like; the original underneath is untouched.
$ echo "say it out loud"
“A branch is a safe scratch copy where I experiment.”
🏠 main (the default branch)
The official, published version of your project. When someone visits your repo, this is what they see.
# analogize
The final copy of the essay you hand in. Branches are the rough drafts on your desk.
$ echo "say it out loud"
“main is the official copy everyone sees.”
🔀 Switching branches
The dropdown button near the top-left of the file list that says 'main'. Click it to type a new branch name or hop to an existing one. The whole page changes to show that universe.
# analogize
A channel button on a TV. Same room, different universe on screen.
$ echo "say it out loud"
“I always check which branch I'm on before I edit.”
📏 Ahead / behind
GitHub counts how many commits your branch has that main doesn't: 'This branch is 2 commits ahead of main'.
# analogize
How many pages of your draft aren't in the official copy yet.
$ echo "say it out loud"
“Ahead means my branch has new saves that main is missing.”
$ run ./tasks --hands-on
# everything happens in your browser at github.com — no installs, no terminal on your own # machine. tick each step, then bank 15xp when the task finishes.
Open a doorway
progress 0/4
=> output
A second universe exists, and you're standing in it.
Experiment wildly (safely)
progress 0/4
=> output
Proof that branches isolate changes.
Measure the drift
progress 0/3
=> output
You can explain exactly what is different between the two universes.
!! recover
If the branch dropdown shows nothing, you may be on a cached page. Refresh — the branch is there.
Mission 4 · Fork the Timeline
Create a parallel universe, live in it, and prove the official copy never flinched.
0/5
[loot] reward on completion
Badge: Branch Ranger · +80 XP
unlock_condition: 4 man pages + 3 tasks + 5 mission steps + diagnostic ≥ 75%.
# unlimited retakes, no penalties. every answer prints the reason.
Q1> A branch is…
Q2> What is 'main'?
Q3> You created a file on a branch, then switched to main and it's gone. What happened?
Q4> Why do teams avoid editing main directly?
- [+]Branch = safe scratch copy.
- [+]main = the official version visitors see.
- [+]Where the branch dropdown is and how to switch.
- [+]Check which branch you're on before editing (this prevents 90% of beginner confusion).
- [~]Branch protection rules — locks main so changes must come via pull request.
- [~]Default branch renaming and setting.
- [~]Deleting branches (we do this at the end of Module 5).
- [~]Git terminology like HEAD, checkout, and detached states — firmly a 'later' topic.
$ ls ./deliverables -l
| task | mode | time | output |
|---|---|---|---|
| Open a doorway | solo | 12m | A second universe exists, and you're standing in it. |
| Experiment wildly (safely) | solo | 15m | Proof that branches isolate changes. |
| Measure the drift | solo | 10m | You can explain exactly what is different between the two universes. |
🎒 man gitquest --operator (this level)
- # The 'my file disappeared when I switched to main' moment is the lesson. Let it happen, then let them switch back.
- # Draw a Y-shaped fork on a whiteboard once. Never more than once.
- # Pair mode works beautifully here: one learner drives, one calls out which branch you're on before every click.
achievement
Branch Ranger
You can now try anything without risking anything.
locked · clear this level to unlock