git checkout

Checkout a branch or paths to the working tree. More information: https://git-scm.com/docs/git-checkout.

git checkout -b {{branch_name}}

git checkout -b {{branch_name}} {{reference}}

git checkout {{branch_name}}

git checkout -

git checkout --track {{remote_name}}/{{branch_name}}

git checkout .

git checkout {{path/to/file}}

git checkout {{branch_name}} -- {{path/to/file}}