Guide
Save a restore point before you ask AI for anything
How to go back when AI breaks your game, without losing what already worked: a snapshot of the project, taken before the request.

SUMMARY FOR WHEN YOU'RE SHORT ON TIME · 2 min
A restore point is a copy of all of your game's files, saved before you ask AI for a change. If the request breaks the game, you go back to that copy and don't lose what already worked. Programmers do this with Git, a free program, but going back throws away everything that wasn't saved first.
- A single request to AI can change several of the game's files at once; without a copy from before, figuring out what changed becomes guesswork.
- Git, a free program, keeps versions of a project; each saved version is called a commit and works like a snapshot of all the files at that moment.
- According to the official Git book, anything saved in a commit can almost always be recovered; anything never saved is probably lost.
- GitHub Desktop, a free app for Windows and macOS, does the same thing with buttons, without typing commands.
- Claude Code has its own undo, but its documentation warns that this feature does not replace version control and does not revert changes made by commands.
- In March 2025, Ethan Mollick's game stopped working between the third and fourth requests to AI, and fixing it took about twenty minutes.
Your first step: Before your next request to AI, make a copy of the game's entire folder and name it with the date and what you are about to ask for.
What is a restore point?
It is a copy of all of the game's files, saved at a moment when it worked. Think of the spot where a game saves your progress before the hard part: if you fall, you start again from there, not from the beginning.
The same goes for a game project. Before asking AI for a change, you save how everything is. If the change breaks the game, you go back to that copy and try again, without losing what was already good.
Programmers do this with Git, which its official website describes as a free and open source version control program, meaning a program that keeps the versions of a project1. Each version saved in Git is called a commit. The official Git book uses the same image as this article: every time you commit, Git basically takes a picture of what all your files look like at that moment and stores it2.
Why can AI break a game that worked?
Because a simple request can touch a lot of things at once. When AI works inside the game's folder, as Claude Code does, the AI that writes the code inside the game folder, it opens and changes several files to fulfill a single request. A "make a game over screen" can touch the score, the controls and the level.
If something stops working after that, you don't know for sure what was touched. Without a copy from before, going back becomes guesswork: asking the AI to undo, checking, asking again.
Ethan Mollick, a professor who writes about AI in the newsletter One Useful Thing, described in March 2025 how he made a game by talking to Claude Code, without knowing the language of the code. Between the third and fourth requests, the game simply stopped working8. He kept passing the errors back to the AI, in a back-and-forth of about twenty minutes that cost about 8 more dollars in usage, and in the end the problem was simple8.
It worked out, and the game came back better than before, according to him8. The point is something else: he had only one path, fixing forward. With a snapshot from before the third request, there would have been two: fix it, or go back and ask differently (our reading). This way of making software by talking to AI got the name vibe coding, and it is where a restore point is missed most.
How do you save a restore point without knowing how to code?
There are three ways, from the simplest to the most complete. All three do the same thing: save the state of the game before the request.
| Way | What you do | What it doesn't do | Source |
|---|---|---|---|
| Copy the game folder | Copy the entire folder and name the copy with the date and what you are about to ask for | It doesn't show what changed between one copy and another; the copies pile up | Our reading |
| GitHub Desktop | Write a short name for the version and press the save (commit) button | It only works on Windows and macOS | GitHub documentation, accessed October 25, 202656 |
| Git in the terminal | Type one command to save the snapshot and another to go back | It asks for some familiarity with the command screen | Git documentation, accessed October 25, 202624 |
Copying the folder
This is the way for someone who has never heard of Git, and it already protects you. Before a big request, copy the game folder and give the copy a name that says the moment, such as "game, before the end screen". If the request breaks everything, you throw away the broken folder and go back to using the copy.
The limit shows up quickly. After ten copies, it gets hard to tell which is which, and you can't see what the AI changed from one to the next (our reading).
Using GitHub Desktop
GitHub Desktop is a free and open source app, for Windows and macOS, that does Git's work with buttons5. To save the snapshot, you write a short summary in the summary field, below the list of changed files, and press the commit button6. The list already shows which files changed, and that alone helps you understand what the AI touched.
To go back, the same app has an option to discard changes, from one file or all of them, and it asks for confirmation first. On macOS, according to GitHub's documentation, what was discarded goes to the Trash and can be recovered until the Trash is emptied6.
Using Git in the terminal
In practice, it is two commands: one that saves the snapshot (the commit) and one that returns the files to how they were in it (restore)4. The Git documentation describes the second as the command that restores the folder's files from a saved version4. Installing and setting up Git is left out of this article: the subject here is the habit.
When should you save the restore point?
Before every request that changes the game, and especially before the big one. A rule of thumb that works:
- one snapshot per task;
- a name that says what comes next ("before: game over screen");
- always before the big request, never after.
The name matters more than it seems. When you need to go back, you will look for the snapshot by name, and "version 7" says nothing. "Before: game over screen" says exactly where you are going back to.
Asking for one thing at a time also helps, because each snapshot sits between two small requests and going back costs little. The subject has its own article: why ask AI for a little at a time in your game.
Isn't the AI's own undo enough?
It helps, but it doesn't replace the snapshot. Some AI tools have their own undo. Claude Code, for example, saves the state of the code before each request and lets you go back to it with the /rewind command or by pressing Esc twice7.
The documentation itself points out the limits. A file that the AI changed only through commands, and not with its file editing tools, is not saved and stays as it is; to revert it, the documentation says to use version control, such as Git7. Changes you make outside Claude Code are also left out, and the saved copies are deleted, by default, about 30 days later7.
And the sentence that sums it up: Claude Code's checkpoints are for quick recovery within a session, and for permanent history the documentation recommends continuing to use version control, such as Git7. In our reading, the AI's undo is the safety net, and the snapshot you take is the floor.
What does going back to the restore point do to your work?
It erases everything that came after the snapshot and wasn't saved. That is what going back is for, and that is why it calls for care.
The official Git book calls the command that restores a file dangerous: the local changes you made to it are gone, because Git replaces the file with the last saved version3. The same book gives the other side: anything saved in a commit can almost always be recovered, and anything never saved is likely never to be seen again3.
Hence the order that doesn't change: save, then ask. If you made a manual tweak that worked and then asked AI for something without saving, going back takes your tweak with it.
The other side
A restore point protects what already worked, but it doesn't fix anything on its own. If the request broke the game, going back returns you to the point before; finding out why it broke and asking differently is still your job. The snapshot also only counts if you took it: if you forget to save before the request, you don't have one. And none of the three ways on this page keeps a copy outside your computer; if the disk fails, the snapshots go with it (our reading). Finally, Git has much more than saving and going back, and learning the rest takes work. For the habit on this page, the basics are enough.
How do you start today?
With the project you already have open, without installing anything for the first step. If you haven't started a game yet, the whole path is in how to make a game with AI, and the other articles in the section are in the guide.
Your action plan
Check off what you've done. It's saved on this device, so you can pick up where you left off.
Related questions
What is a restore point in a game project?
It is a copy of all of the game's files saved at a moment when it worked. If a change goes wrong, you go back to that copy.
What is a commit?
It is the name Git gives to each saved version of the project. The official Git book compares a commit to a snapshot of how all the files looked at that moment.
Do I need to know how to code to use Git?
Not for the basics. GitHub Desktop, free for Windows and macOS, saves a version with one button and discards changes with another. Understanding what happened when something goes wrong is still work.
Isn't the AI's own undo enough?
It helps, but it has limits. The Claude Code documentation says its undo does not revert files changed only by commands and that it does not replace version control, such as Git.
Can going back to the restore point erase work?
Yes. The Git book warns that restoring a file erases its local changes that were not saved. That is why the snapshot comes before the request, not after.
Does copying the game folder work as a restore point?
It works as a start. The copy keeps the files, but it doesn't show what changed between one version and another, and the copies pile up. Git solves both.
How often should I save a restore point?
A simple rule is one snapshot per task, always before a big request, with a name that says what comes next.
Sources
- Official Git website. Accessed October 25, 2026.
- Pro Git, "1.3 Getting Started: What is Git?". Accessed October 25, 2026.
- Pro Git, "2.4 Git Basics: Undoing Things". Accessed October 25, 2026.
- Git documentation, "git-restore". Accessed October 25, 2026.
- GitHub documentation, "About GitHub Desktop". Accessed October 25, 2026.
- GitHub documentation, "Committing and reviewing changes to your project in GitHub Desktop". Accessed October 25, 2026.
- Claude Code documentation, "Checkpointing". Accessed October 25, 2026.
- Ethan Mollick, One Useful Thing, "Speaking things into existence" (03/11/2025). Accessed October 25, 2026.
Was this article helpful?
Thank you. This helps us decide what to improve.
Once a week, what changed in making games with AI
Every Tuesday, a 3 to 5 minute read: the news that changes something for people who want to make a game, one reader question answered, and the new articles. Unsubscribe anytime with one click.
By signing up, you agree to the privacy policy.
Done. We sent you an email to confirm.
That didn't work. Check that your email is correct and try again.
Found a mistake? Let us know. We fix it and log the correction on the page. Report a mistake