A 10-minute interactive guide to Git

I believe the way we work in companies is about to change fundamentally. One big reason: vibe coding. Anyone can now build a custom tool for their own problem. No engineering degree, no ticket in somebody's backlog. Just you, an AI and an idea.

But there's a catch. The boring stuff suddenly matters. Things like version control. The moment you build something together with engineers — or just want to hand your thing over to one — you need to speak a bit of Git.

Sure, your AI does roughly what you ask. But it never hurts to understand the principle. Then you can tell it how to solve a problem, instead of hoping it guesses right.

So here's Git for everyone who isn't an engineer. Ten minutes, six concepts, no terminal needed.

You only need six things

Use the bar at the top of the guide to move between steps. Every step has a little sandbox: press the buttons (the glowing one is a good next move) and hover or tap the numbered dots to see what's going on. You can't break anything here. Promise.

Interactive guide

6 steps · about 10 minutes

Step 1 of 6

Commit

A commit is a save point. Like in a video game — except you can jump back to any of them, whenever you want.

Each commit stores a snapshot of your files, a short message about what you did, who did it and a unique ID. Git never saves on its own. You decide when something is worth a save point.

It's two moves: pack your changes with git add, then seal the box with git commit. Try it.

Try it

1Hover the numbered dots to see what's going on

Your move · the glowing button is a good next step

This is a folder on your laptop with one file in it. Start by changing something.

House rules for commits

Super short, I promise.

  • Commit often. Save points are free. Future you will be grateful.
  • Keep them small. A small commit is easy to review and easy to undo. A giant one is neither.
  • One thing per commit. "Fix login bug" — not "fix login, new logo and some cleanup while I was at it".
  • Use conventional commits. Start the message with the kind of change: feat: add pricing page, fix: broken signup link, docs: update readme. Humans and robots can read your history at a glance.

The best part: you can tell your AI exactly that. "Commit after every step, keep commits small, use conventional commits." It will happily do it.

The bit worth remembering

You don't need to know Git by heart. You need to know what it does — so you can ask for the right thing.

Addendum: "never on main" isn't a law

In the branch step I said you don't experiment on main. That's the safe default — not the only way. Teams work very differently depending on how big they are and how they collaborate:

  • Feature branches + pull requests. What this guide shows. A great default, especially when people work remotely, in different time zones, or are new to a codebase.
  • Trunk-based development. Everyone commits to main many times a day and branches live for hours, not weeks. Needs solid automated tests and often feature flags to hide unfinished work.
  • Extreme Programming (XP). Two people (or the whole team) write code together, in tiny steps, tests first, and integrate into main continuously. The review happens live while you type, so there's no PR to wait for. Works brilliantly for small teams that sit together.
  • Git flow. Long-lived branches for development and releases. Heavier, but useful when you ship versions on a schedule, like apps or software people install.

No single one is right. Two people pairing all day need different rules than 200 engineers across three continents. Start with branches and PRs — then ask your team how they do it.