etapa · Your workspace
29Git and GitHub
A time machine for your project
Sounds like a professional thing, and it's actually the single most useful thing for a beginner. Here's why it matters to you specifically.
Git is your project's history. Every time you say "save", it remembers the state of every file. Broke something - roll back. Not "undo five times and hope", but an exact return to the moment when it worked.
GitHub is where that history lives online. Also a backup: laptop dies, project survives.
Why this is critical with AI specifically: an agent edits a lot of files at once and quickly. Without history one bad run can wreck half the project and you won't know what changed. With history it's "roll it back" and five seconds.
The number of commands you need to know is three, and the AI will write all of them for you. Say "save the changes" - done. Say "put it back the way it was an hour ago" - done.
One important note: make the repository private if there's anything of yours in it. Public means the whole world can see it, including bots that hunt round the clock for other people's access keys. There's a separate node on this later, and it's an important one.