By the end of this lesson your project will have save points, a private copy on GitHub and a backup of its data, and you will know how to go back safely when the AI breaks something.
You need: a project folder, a coding agent (Claude Code, Codex or OpenCode) and a free GitHub account · Time: 8 minutes
In a game, you save before the boss fight. If you lose, you load the save and try again. Git does the same for your project.
- A commit is one save point: a snapshot of every file at that moment, with a short message like "Add login page".
- A repository (repo) is the folder plus its full history of save points.
- GitHub is a website that keeps a copy of your repo online, so a dead laptop does not mean dead work.
You do not need to learn Git commands. Your agent runs them. You only need to ask at the right moments, and read what it reports.
Why?AI agents change many files at once. Without a save point, one bad change can mix with ten good ones and you cannot untangle them. With Git, any working version is one step away.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Turn on save points for your project
- Commit after every working step
- Keep a private copy on GitHub
- Back up data and uploaded files, not only code
- Go back safely
- Recap