How to Safely Revert a Git Commit: A Step-by-Step Guide