100 learners and counting

v0.1 · beginner friendly

Learn git by actually using it.

Type real commands. Watch your files move. No setup needed.

No sign-up needed · Works on your phone

~/my-first-repo

This folder has one file: README.md. Type git init to turn it into a repository.

Working
Staging
Local
Remote

README.md is in Working

1.0 · THE FOUR ZONES

Every git command moves files between four places.

Click through the story. It takes less than a minute.

This is your project folder. Git is watching it. Nothing is saved yet.

Working directory

Your desk. The files you edit.

Staging area

The box. Files picked for the next save.

empty

Local repository

Your album. Saved snapshots, on your computer.

empty

Remote

The cloud. A shared copy online, like GitHub.

empty

2.0 · HOW A LEVEL WORKS

Every level works the same simple way.

Three steps, repeated until git feels natural.

  1. 01

    Read the story

    Each level starts with a short story: what you are building and why.

  2. 02

    Type the command

    Type a real git command in the terminal. Hints help when you get stuck.

  3. 03

    See it happen

    Watch your files move between the zones, so you see what git did.

3.0 · THE LEVELS

Six levels to your first real git workflow.

Start at level 1. Each level unlocks the next.

  1. LEVEL 01

    First repo

    Turn a folder into a repository.

  2. LEVEL 02

    LOCKED

    Stage a file

    Pick what goes into your next save.

    git addUnlocks after level 1
  3. LEVEL 03

    LOCKED

    Commit

    Save a snapshot with a message.

    git commitUnlocks after level 2
  4. LEVEL 04

    LOCKED

    History

    Look back at every snapshot you made.

    git logUnlocks after level 3
  5. LEVEL 05

    LOCKED

    Branch and switch

    Try an idea on its own line of work.

    git switchUnlocks after level 4
  6. LEVEL 06

    LOCKED

    Merge

    Bring two lines of work back together.

    git mergeUnlocks after level 5

More levels coming: remotes, rebase, reset, reflog, stash, cherry-pick.

Ready to stop being scared of git?

Start level 1