how to get back reverted commit in git again code example Example: revert git commit git revert <the_commit_hash>