Tips and tricks

Revert to a previous commit without rewriting history
The tip of the git would not go back in time, it will go on top of the current branch tip head.
git revert --no-commit HEAD~2..HEAD && git commit
would return to 2 commits behind