How to jump to a specific git commit?

To jump to a specific commitId:

git checkout <commitId>

To return to the tip of the branch:

git checkout <branchName>

Leave a comment