Skip to the interactive lesson
AGENTIC ACADEMY

Git, in motion.

See what every command changes.
git init

Start a repository

STEP 1 / 3
website / local folderGit not initialized
01 / WORKING FILES

What you’re editing

index.htmlv1
<h1>Hello, world</h1>
○ Untracked file
02 / STAGING AREA

The next snapshot

No files staged yet
Choose content with git add
03 / LOCAL HISTORY0 commits · select a dot to inspect
Your story starts here

A dot will appear when a snapshot is committed.

main historyfeature pathCommit IDs are illustrative.
LOCAL STASH▱ Empty shelfA place for unfinished work
04 / REMOTE · ORIGINNot connected yetYour repository lives on this computer.
TERMINAL · ILLUSTRATIVE OUTPUT
COMMAND
# A folder with index.html
RESULT
No repository yet
git init · 01 / 30Pauses after each command

Space to play / pause ← → to step through

The Git field guide

A repository starts locally. No commit exists yet.

The .git directory stores Git’s objects and references. The -b main option explicitly names the initial branch; Git’s configured default can differ.