Git 101 — Guide & Interactive Lab

Use the Reference tab for setup and workflows from the guide. Use the Lab tab to rehearse how files move through Git’s areas.

Reference covers setup, auth, branching, rebase, stashing and undo; the lab is a simplified single-file simulator.

Command Center

1. Standard Workflow

2. Shelf Work (Stash)

3. Undo Mistakes

4. Branching

$ status

Working tree clean. Edit a file to start.

Next: Use (edit files) to create a change.

Switched to new branch 'feature'
Working
Dir
Staging
Index
Local
Repo
Remote
Repo
Stash