Remove commit. Git revert. git revert example. git revert head. revert commit.