Git Revert those changes in Git Occasionally you'll want to undo a change you've made within Git, let's take a look at how you can do that using the revert command.