If you have a commit identifier for this particular commit, this syntax will do for you.
git checkout commit_name in the commit name, pass the commit identifier, and if you do not want to check again, then commit will perform this git revert commit_name to return commit.
source share