By the end of this section, you will:
- Create repositories
- Track changes
- Make commits confidently
- Understand Git workflow
- Read Git history
From Mental Models:
- Git stores snapshots
- Branches are pointers
- HEAD is your position
- Staging area controls commits
- Merge vs rebase thinking
- Reflog = safety net
👉 Now we apply it in practice.
Working Directory → Staging Area → Repository
Follow in order:
- What is Git
- Why version control matters
- Git vs GitHub
- Install Git
- First-time setup
- git init
- git status
- git add
- git commit
- git log
- git diff
- .gitignore
👉 Don’t skip:
practice-lab.md
This is where learning becomes real.
- Skipping staging area
- Writing bad commit messages
- Not checking
git status - Forgetting to commit often
For each topic:
- Read concept
- Run commands
- Break something
- Fix it
- Repeat
You are safe because:
👉 You understand reflog 👉 You understand snapshots
👉 Go to: 01-what-is-git.md