10 · Version Control
Revert / Reset
Undo committed changes
Two ways to undo: revert adds a new commit that cancels an earlier one (safe, keeps history); reset moves history backward (stronger, riskier).
Concrete example
An agent's change three commits back broke things — revert it and move on.
Why it matters
The safety net that makes experimenting (and trusting agents) low-risk.