Skip to content
AltZTraining for Every AltZ Venture
What Is Version Control
beginner9 min

Working With Others

Where the history lives when a team shares it, why everyone holding a full copy matters, and how review fits in before a change reaches the main line.

Everything so far could happen on one laptop. Real work is shared, and that raises a question the earlier lessons skipped: where does the history live?

Two ways to share a history

There are two designs, and the difference is easy to see:

CentralEveryone has a full copyfiles onlyfiles onlyfiles onlythe only historyone more copy

Central. One server holds the history. Everyone else holds just the latest files. To look at an old version, save, or compare, you need the server. Older systems such as Subversion work this way. A shared drive is a central design with no history at all.

Everyone has a full copy. Each person holds the whole history on their own machine. They can look back, compare and save offline, then send and receive saves when they're ready. Git works this way, and it's what most teams use today.

The second design has a quiet benefit: every copy is a backup. If the shared copy disappears, each person still has the full history up to the last time they synced.

Git and GitHub are different things

The names make this easy to miss.

  • Git is a program on your computer. It keeps the history, and it works with no internet connection.
  • GitHub is a website that holds one more full copy of a project, so a team has a shared place to meet. It adds things git doesn't have on its own: accounts and permissions, a web view of the history, and review. GitLab and Bitbucket do the same job.

Most teams treat the copy on GitHub as the shared one. It isn't more real than yours; it's just the one everyone agrees to sync with.

Sending and getting saves

With full copies, sharing is two moves:

  • Send your new saves to the shared copy. Git calls this a push.
  • Get other people's new saves from the shared copy. Git calls this a pull.

Between those moves, your copy only knows what it last got. When it says everything is up to date, read that as "up to date as of the last time I checked". A teammate may have sent something five minutes ago.

And one honest limit: a save you haven't sent yet exists only on your machine. Full copies protect the history everyone has shared, not the work on one laptop that nobody else has seen.

Review before it reaches main

Lessons 3 to 5 come together here. When a team shares a main line, changes usually arrive like this:

  1. Someone makes a side line and saves their work there, with messages that say why.
  2. They send the side line to the shared copy and ask for a review. On GitHub this request is called a pull request.
  3. A teammate reads the diff and the messages, asks questions or suggests changes.
  4. When it's right, the side line is merged into main.

Nothing reaches the version everyone relies on without a second pair of eyes, and the history records who reviewed what.

Try it

Think it through first: if the shared copy on GitHub went offline for a whole day, what could a team using git still do, and what couldn't it do?

Answer

Still possible: everything on each person's own copy. Look at any old version, compare, make side lines, save with messages, even merge locally. Nobody's history is lost.

Not possible until it's back: sending saves to each other through the shared copy, opening or reviewing pull requests, and seeing anything a teammate saved after their last send.

Then look at your own team. Paste this into Claude, Gemini, or ChatGPT:

I'm learning how teams share work with version control. Interview me about
how my team shares files today: where the latest version lives, who can change
it, and how changes get reviewed. Ask one question at a time, five at most.

Then tell me, plainly:
1. Is our setup central, or does everyone hold a full copy?
2. What would we lose if the shared place disappeared tomorrow?
3. Where does review happen before a change reaches the version everyone uses?

Next

The last lesson goes past code: what else is worth keeping under version control, how all of this applies when an AI assistant edits your work, and what to learn next.