Mid Version Control Git revert? git revert <commit> - creates a new commit that undoes the changes of a previous commit, preserving history.