
Your AI Just Changed 30 Files. Do You Dare Hit Accept?
TL;DR
Git stopped being a programmer's tool. Agents change dozens of files at once, run several tasks in parallel, and now edit your notes as well — all three need a foundation you can trace and roll back. You don't have to memorise commands: understand the four places (working directory, staging, local repo, remote), let the agent type, and keep the reviewing for yourself. The interactive handbook below is clickable: a four-zone simulator, a branch sandbox, 25 commands with what each one actually touches, and ready-made prompts.
Three situations, to start with.
One: vibe coding. People with no programming background are now getting agents to build web pages and small tools for them. But an agent changes dozens of files in a single go, and when you’re halfway through and realise the direction is wrong, you need a way back to how things looked before it started. That undo button is git.
Two: how the agents themselves work. The mainstream coding agents borrow git’s machinery directly. Claude Code, for instance, uses git worktrees so several tasks can run at once without overwriting each other — and what changed, and when, stays traceable in the commit history.
Three: your personal knowledge base. Karpathy has written about an LLM wiki: a set of interlinked Markdown notes that an agent keeps organising and maintaining. As he puts it in his own notes, the wiki is essentially a git repo, so version history and branching come for free. If an agent edits your notes every day, you need to know what it changed — and whether you can get the old version back.
So the question isn’t whether to learn git. It’s how to learn it without it being a slog.
Who this handbook is for
I put together an interactive Git handbook for people with no programming background. It starts with four places. The working directory holds the files you’re editing. Staging is where you pick out the changes that go into this save. The local repository is the permanent history on your machine. The remote is the shared backup in the cloud. Every git command, without exception, is moving content between those four places.
You don’t have to memorise anything. Click through the simulator and you’ll see it. And for the situations that actually come up — branching off, running tasks in parallel, reviewing what came back, merging, undoing, pushing at the end of the day — the handbook has prompts ready to copy. Your agent types the commands.
How to use it
Start with the map and get the four places straight. Then go to the simulator and the branch sandbox and push the buttons a few times. When a real situation comes up, grab a prompt from the command library or the section on talking to agents. And if something goes wrong, skip straight to rescue.
The handbook is right below. Go ahead and click.