If you’re used to collaboration tools like Google Drive or Microsoft OneDrive, you might already be familiar with using technology to see how a document has changed over time, and who edited it. But, if my experience is anything to go by, most people don’t realise how easy it is to go back and keep track of what changed over time, and _final_FINAL_2’s are still pretty common.

The good news is that if you’re working with an AI agent like Claude Code, version control is built into the workflow — and you don’t need to learn any special commands to use it there either. Claude handles the mechanics; all you need is a basic understanding of what’s happening and why. We’re not talking about co-editing documents here, though. Instead, you’ll be making a new version — a new snapshot of your document — every time you or Claude make a significant change.

Why not just use Google Docs?

We’re in a world where everyone can edit the same document in real time, so version control might sound like a step backwards. Why would you want to go back to taking snapshots and sending files back and forth?

The answer is quality control. When you’re collaborating with an AI agent, changes happen fast — Claude can rewrite an entire document in seconds. Real-time editing doesn’t give you a natural place to pause and say, “Wait, let me check this before we move on.” Version control does. Every time you save a snapshot, you’re creating a checkpoint — a point you can return to if things go sideways. And every checkpoint is a deliberate decision: “I’ve reviewed this, I’m happy, let’s keep going.”

Think of it less like passing files back and forth, and more like a pipeline. Each piece of work moves through its own review process at its own pace, and nothing goes forward until you’ve signed off on it. And the tools that manage the process all take care of the messiness — _final_FINAL_v2.doc isn’t coming back to haunt you.

Getting started

The most common version control tool is called git. You don’t need to learn it — Claude is a git expert, and I rarely write git commands myself any more — but it helps to know the basics of what’s happening behind the scenes.

We start with a repository, usually just called a repo. This is just a folder of files that git is keeping track of. When you start a new project with Claude, tell it you want to use version control and ask it to set things up.

From there, you should periodically — and especially after completing a meaningful piece of work — ask Claude to save a snapshot. You’ll develop a feel for the right rhythm: too often, and you’re not capturing meaningful changes; too rarely, and rolling back means losing a lot of work.

To see how this works in practice, here’s the real snapshot history of this very post:

ea40039  Add a subtitle to break up the last section
405acf2  Fix hyphens to em dashes and remove stray 'so'
42565ce  Rewrite version control post based on reader feedback
82b81a3  Minor tweak to make the copy read a bit more cleanly
9d7abab  Publish post

Each line is one snapshot, shown most recent first. The codes on the left — like ea40039 — are unique IDs that git assigns automatically; you’ll never need to type them. What matters are the messages on the right. They tell the story of how the post evolved over time.

You’ll need to install git for Claude to use it. You can find instructions on its official site. On Windows you can just download the setup application. On Mac, you’ll need to use the Terminal and first install a service called Homebrew — all the instructions can be found on that page, or ones it links to. (If you’re new to the Terminal, my earlier post Terminal Fear covers the basics.)

Once you develop a rhythm for this, you unlock three powerful skills.

Teach Claude what matters

Let’s say you’ve been working together on developing a document. Claude has finished its latest iteration, but when you read it you find a bunch of things you don’t like. Factual errors, formatting issues, arguments that aren’t supported by the facts, or prose that just doesn’t sound like you. Sometimes, instead of talking to Claude directly about what you want to change, you’re better off just making the edits yourself. Before doing this, however, you should ask Claude to save a snapshot of its work. Why do that, when you don’t like its output?

Simple. Because, once you’ve made your updates, you can ask Claude to review what you’ve changed — and it can see exactly what those changes are by comparing the two versions. Better than asking it to review, ask it to review and to ask you why you made those changes. What did you dislike about its approach? What was wrong? What can it learn? As you step through, you’ll likely spot Claude updating its memory files so that it can do a better job next time.

Here’s what that looks like in practice. Take 82b81a3 from the history above — “Minor tweak to make the copy read a bit more cleanly.” Here’s the actual change:

- You can teach Claude what's important to you. Let's say you've been working together on developing a document.+ Let's say you've been working together on developing a document.

Red means removed; green means added. One redundant sentence, gone. That’s really all there is to it.

Understand Claude’s choices

The second skill is the same as the first, but in reverse. Let’s say you’ve saved a snapshot of your work, and then ask Claude to make an update — and it changes a ton of stuff. Instead of asking it to review your edits, this time you can ask it to explain itself. It will step through the changes one by one, allowing you to understand where it was coming from. You can course correct if need be, or just absorb what it did.

Share and collaborate

The final skill isn’t really about Claude. If you have a GitHub account, you can connect your repo to one that lives on GitHub — and from there, you can share and collaborate with anyone else you choose to grant access to. In a business environment, this might mean your team, your peers, or even your boss. GitHub does a great job of making Markdown files look like presentable documents, so it’s a great way to share your work with whoever needs to consume it. And, if those people want to, they can copy your repo, make changes of their own, and suggest them back to you. But that is a story for a whole other post.

Git going

Version control and Claude are powerful allies. Once you’ve got the rhythm of saving snapshots and reviewing changes, you’ll wonder how you ever worked without it. Give it a go and let me know how you get on in the comments.