How often should I save a version?
Save a version every time something works, and before you ask for a big change. That can mean every few minutes. Push to GitHub once you’ve checked the change, because on a connected host each push to your main branch puts it online.
Find your situation
- If something you asked for works
- Ask your AI tool to save now, with a short note about what changed, like “Add contact form”. Small saves let you go back one step instead of losing a whole afternoon.
- If you’re about to ask for something big, like a redesign, an upgrade or a new sign-in
- Save first, even if your last save was a minute ago. If the big change goes wrong, you can return to this point in one step.
- If your AI tool has its own undo, like Claude Code’s /rewind or Cursor’s checkpoints
- Use it for quick undos within a session, and keep saving with Git. Claude Code deletes its checkpoints after about 30 days by default, and Cursor says to use Git for lasting history.
- If your site is on Netlify’s free plan
- Save as often as you like on your computer, but group your pushes to the main branch. Each live deploy uses 15 of your 300 monthly credits. Deploy previews, branch deploys and failed deploys use none.
- If you want to try a change online before visitors see it
- Ask your AI tool to save it on a separate branch and push that. On Vercel, a push to any other branch makes a preview link, and your main site stays as it was.
Who does what
You
- Check that a change works before it’s saved as a working version.
- Say yes when your AI tool asks to push a change you’ve checked.
- Decide when a change is ready to go online.
Your AI tool
- Save a version with Git after each change that works, with a short note.
- Save before any big change, without being asked.
- Push to GitHub once you’ve checked the change, so your work is safe off your computer.
- Put risky changes on a separate branch, so you get a preview link.
Hand this to your AI tool
From now on, help me save versions of this product with Git: - After each change that works, and before any big change, save a version (a commit) with a short note in plain words. Tell me when you’ve done it. - Before each save, check that .env and other files with keys aren’t included. - Don’t push to GitHub until I’ve checked the change and said yes, because a push to my main branch can update my live site. - For risky changes, ask me whether we should work on a separate branch first. If Git isn’t set up in this folder yet, set it up once I say yes. This comes from https://buildladder.com/answers/how-often-save. If you can open web pages, read https://buildladder.com/answers/how-often-save.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address. Ask me before you install anything, sign in to anything or spend money. Never ask me to paste a password or secret key into this chat.
Where to go next
- Build your first website
- Build your first phone app
- Hosting
- Vercel
- Netlify
- Why do I need GitHub?
- What do I do, and what does my AI tool do?
- My AI tool broke something. How do I get back to a working version?
- What is a commit?
- What is Git?
- What is a branch in Git?
- What is the main branch?
- What is a checkpoint in an AI tool?
- What is a preview?
Updated Sources: Claude Code checkpointing, Cursor Agent and checkpoints, Netlify: how credits work, Vercel deploys from Git, Git: about version control.