Simple explanation
Every time your app is in a working state, you can save that moment to GitHub. This is called a commit. If AI later breaks something, you can return to that saved moment in seconds. Think of it as the best undo button you have ever had — one that saves the entire state of your app, not just the last line you typed.
What to do
After any working version of your app, commit to GitHub with a clear message like "Working: home screen layout done." Before you ask AI to make any big change, always commit first. This means you always have a safe version to return to, no matter what happens next.
Copy-paste prompt
Explain what this git command does and whether it is safe to run: [paste the git command here]. I am a non-developer and I want to understand exactly what will happen before I run it.
Course note
Key takeaway
Commit before you prompt. Every single time.