01·Getting Started

Zero-to-Hero · Curriculum

Guided lessons. Each step types itself into the live terminal.

Track 01 · beginner

What git really is

Build the model before typing commands.

Mental model

Three things to hold in your head:

• A commit is a snapshot, named by its SHA.

• A branch is a sticky-note pointing at a commit.

HEAD is the sticky-note that says "you are here".

 

That's it. Every command moves these three.

Steps · 3
  1. 01
    See what this playground knows.
    $help
  2. 02
    Make a repo. The prompt picks up `(main)`.
    $git init
  3. 03
    Confirm. Empty repo, no commits yet.
    $git status
Takeaway

Snapshot. Pointer. HEAD. The whole model.

3 steps