01·Getting Started
Zero-to-Hero · Curriculum
Guided lessons. Each step types itself into the live terminal.
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
- 01See what this playground knows.
$help - 02Make a repo. The prompt picks up `(main)`.
$git init - 03Confirm. Empty repo, no commits yet.
$git status
Takeaway
Snapshot. Pointer. HEAD. The whole model.
3 steps