Revert Last Two Commits - Git Command

Instructions to revert the last two commits in Git.

Code

git revert HEAD~2..HEAD