Deployn

Development

Git Express

Network map

0 of 45 stations done

1

Basics

0/12
2

Branches

0/11
3

Rebuilding

0/8
4

Long distance

0/7
5

Shunting

0/7

Line 1 · 1. Switch git on

Switch git on

Your blog sits in a plain folder. Git isn't watching yet, git status says “not a git repository”.

switches git on for this folder. Ramp and track appear, your files stay as they are.

Goal: Loading ramp and track are in place.

Warehouse: index.html (new). No git yet: no ramp, no track. Ramp: empty. Train: 0 wagons.WAREHOUSEworking directoryclick a crate to editEdit index.htmlindex.htmlNEWLOADING RAMPstaging areagoal: loading ramp and track

Swipe to pan ↔

Destinationstill empty

No wagon has arrived yet.

mein-blog.example

Terminal
Words to tap:Tab completes · ↑ history

Switch git on. Goal: Loading ramp and track are in place.

Frequently Asked Questions

Do I need prior git knowledge?
No. Line 1 starts with the absolute basics (status, add, commit). If you already know git, use the network map to jump to Line 2 (branches and merges), Line 3 (amend, reset, revert), Line 4 (push, fetch, pull) or Line 5 (tag, cherry-pick, rebase). All levels are freely selectable.
Does it run real git?
No. The game fully simulates git in your browser with its own in-memory model. Nothing can break: you can undo every step and restart every level. The commands you learn work exactly the same in real git.
How does the train metaphor work?
Your project folder is the warehouse, every file a crate. The staging area is the loading ramp, a commit a sealed wagon. Branches are tracks, HEAD is the locomotive. A merge joins tracks, a rebase moves a track, and cherry-pick copies a single wagon onto another track. Whatever arrives on main shows up at the destination as a website.
Is my progress saved?
Yes, solved levels are stored locally in your browser (localStorage). There is no account and no data sent to any server.
Which git commands can I learn?
init, status, add, commit (including --amend), restore, log, branch, switch, merge (with fast-forward and conflict), reset, revert, push, fetch, pull, tag, cherry-pick and rebase. The terminal prints what real git prints.