git checkout force code example
Example 1: git checkout commit
git checkout <commit>
Example 2: "git checkout -b" example
$ git checkout -b new-branch --track origin/develop
git checkout <commit>
$ git checkout -b new-branch --track origin/develop