Checkout is one of the most important commands git uses.
git checkout <branch-name>
Switch to a new branch
git checkout -b <branch-name>
Create a new branch from the specified commit
git checkout -b <branch-name> <commit-id>
git log gets hash submission history
git checkout <hash> <file>
scard all uncommitted changes git checkout.