Undo a Git Commit Posted Sep 6, 2023 โ Updated Jan 10, 2024 To undo a git commit, you have a couple of options: git revert and git reset. You can also amend prior commits.