Git¶
This section explains what Git is, its advantages, how it organizes files and versions, its way of working, and its most used commands.
Git is the foundation of everything that follows: the collaborative workflow in the GitHub section is built directly on top of the commits and branches introduced here. If you already know Git well, you can skip ahead.
- 1. What is Git — history and motivation.
- 2. Organization — branches, commits, diffs and snapshots.
- 3. Commands — the everyday command set, and
.gitignore. - 4. Undoing changes —
restore,resetandstash. - 5. Example — a complete step-by-step walkthrough.
- FAQ — quick answers to common doubts.