Chapter Eight

Working Together: Version Control & Collaboration

Software is a team sport, and the tool that makes teamwork possible is version control — the system that records every change and lets many people share one codebase without chaos. This chapter covers it at the concept level: why it exists, its core model of commits and branches, the pull request and code review that guard quality, and the strategies teams use to organize their work.

4 topics

Two people editing the same document at once is a recipe for lost work — unless they have a system built for it. Software teams have exactly that system, and it's the quiet backbone of every project: version control. This chapter explains what it is and why it matters.

This is a concept tour. The most common version-control tool is Git, and learning to actually use it — the commands, the day-to-day moves — is a whole course of its own. Here we cover the ideas, so the words make sense and you know what the tool is for; the dedicated Git, GitHub & GitHub Actions course is where you learn to drive it.

How a change reaches the shared codebase
Work on a branch
a safe, separate line of work
Make commits
described checkpoints of each change
Open a pull request
propose it for review by a teammate
Review & merge
approved work joins the main line

Topics in This Chapter