Undo anything with Git
Use Git to see exactly what changed, throw away changes before you commit, undo a commit after you've made it, bring back an old version of a file, and use branches as a safe sandbox.
Why this matters
Every fixing technique in this module has the same safety net underneath it: you can always go back. Restore Checkpoint covers you inside one Cursor chat. Git covers you everywhere else: across chats, across days, after you've closed Cursor, and after you've committed.
You've used a little of it already. In Lesson 2.8 you discarded a change in the Source Control panel. In Lessons 5.2 to 5.4 you used git restore and git status to clean up. This lesson fills in the whole picture, so that whatever goes wrong, you know which undo to reach for.
There's a confidence effect too. Once you know you can undo anything, you stop being afraid of trying things. That's when you start learning fastest.
In the full lesson
- The idea in plain English
- Do it
- Check it worked
- Quick check
- What you can do now
The step-by-step, the prompt to copy, the video and the check-it-worked list, for every lesson in all 15 modules. GHS 399 ($40), paid once by mobile money or card, yours to keep.