Exercise 01: Git Mental Model¶
Goal¶
Practice identifying the working tree, staging area, and repository history.
Tasks¶
- Create a folder named
git-practice. - Run
git init. - Create
README.mdwith a short course description. - Run
git status. - Stage and commit the file.
- Run
git log --oneline.
Reflection¶
- What changed after
git add? - What changed after
git commit? - Why should you check
git statusoften?