Checkout from SHA
Make sure to pull branches.
git pull origin --all
Checkout from sha1
git checkout <sha1>
git switch -c <new-branch-name>