Git In The Trenches
FreeLearn Git through real-world scenarios with a story-driven guide.
FreeFree tier
About Git In The Trenches
Git In The Trenches (GITT) is a free, open-source, scenario-based book that teaches Git through a narrative following John, a lead developer at the fictional company Tamagoyaki Inc., as he implements a version control system. The book is structured in weekly chapters, each covering practical Git scenarios such as branching, merging, rebasing, stashing, and networking. It aims to help readers both apply and understand the subtleties of Git in a memorable, story-driven way, making it suitable for beginners and those transitioning to Git. The book is available to read online or download, and its source code is hosted on GitHub.
Key Features
Scenario-based learning approach
Story-driven narrative following a developer named John
Covers practical Git applications: branching, merging, rebasing, stashing, networking, patching
Structured as weekly chapters mimicking a real project implementation
Free and open source book available online
Includes both basic and advanced Git techniques
Pros & Cons
Pros
- Engaging narrative makes learning Git more memorable
- Practical scenarios help apply concepts to real work
- Free and open source with no restrictions
- Covers a wide range of Git topics from basics to advanced
- Accessible to readers with minimal Git knowledge
Cons
- Not a comprehensive technical reference (recommends ProGit for that)
- Story format may not appeal to learners wanting quick command references
- Assumes some familiarity with version control concepts (though beginner-friendly)
Best For
Learning Git for beginners with no prior version control experienceUnderstanding Git workflows in a team settingTeaching Git in a classroom or workshopSelf-paced study for developers new to GitHelping teams transition to Git from other VCS
FAQ
What is Git In The Trenches?
It is a free, scenario-based book that teaches Git through a fictional story of a company implementing version control. It follows lead developer John as he applies Git in practical situations.
Is this a technical reference manual?
No, it is a practical guide focused on applying Git in real-world situations. For a technical reference, the author recommends ProGit by Scott Chacon.
How is the book structured?
The chapters are presented as weeks during a project at Tamagoyaki Inc., each covering different Git topics and scenarios. There are also 'After Hours' sections for deeper dives.
Is the book free to read?
Yes, the book is available for free online and is open source. You can read it in the browser or download it. The source is hosted on GitHub.
What level of Git experience is required?
The book is designed for both new users and those with some version control experience. It starts with basics like initialization and gradually covers advanced topics like rebasing and networking.