Chapter 2: Git Fundamentals
Chala mitrano, aaj aapan Git shikuya – version control. WhatsApp var final_final_v3.zip pathavnyachi paddhat sodun, history sobat code save karaychi system baghu. Staging area, commit, .gitignore aani safe undo – he sagla English madhe step by step. Ghabru naka: pahilya vela commands jast distat, pan teen meaningful commits kele ki flow lakshat rahto.
What you will learn in this chapter
- init, clone, status, add, commit, log
- Staging area mental model
- .gitignore for secrets and junk
- Safe undo: restore; amend only if unpushed
- Clean commit message habits
Concepts in this chapter
- 2.1Why Git — zip folders vs history
- 2.2Install check and first vocabulary
- 2.3init, status, add, commit — first repo
- 2.4clone — copy an existing repo
- 2.5The staging area — mental model
- 2.6.gitignore — keep junk and secrets out
- 2.7git log — read the story
- 2.8Undo safely — restore and amend rules
- 2.9Commit message hygiene
- 2.10Lab — three meaningful commits
The chapter recap is at the end of the last concept page.