Pro Git
Understand commits, staging, branches and collaboration instead of memorizing commands.
Where This Fits
Read Git Basics with a disposable repository open beside you. Make a small edit, inspect the diff, stage only the intended file and inspect the staged result. The important distinction is between working files, staged content and recorded commits.
Move to branching after that model is clear. Create two small changes that touch the same text and learn to resolve the resulting conflict by deciding what the final file should contain. Keep destructive recovery experiments in this practice repository.
Before You Start
- Terminal navigation
- A local installation of Git
What to Focus On
- Working tree, staging area and commits
- Branches and merge conflicts
- Reading history and reviewing changes
Put It into Practice
Create a tiny notes repository. Make two topic branches, merge their changes and document how you resolved one conflict. Verify the final file before committing the resolution.
Check Your Understanding
- Explain what a commit records
- Read both unstaged and staged differences
- Resolve a conflict deliberately
Access and Limits
The book is freely readable. Its CC BY-NC-SA license has reuse conditions, so free access does not authorize unrestricted republication.
Using It Offline
Publisher-provided ebook downloads support offline reading. Local Git exercises do not require a hosting account.
Follow the learning path
