Revert a last git git revert Head Revert a git commit with hash git revert {hash of commit}