Git Revert
Learn about Git Revert in Git
Revert changes
git revert commit_hash
Creates a new commit that undoes the changes made in the specified commit. It does not delete the specified commit, but it creates a new commit that reverts the changes made in that commit.