checkout Checkout a branch or paths to the working tree.…
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
git checkout {{branch_name}}
git checkout --track {{remote_name}}/{{branch_name}}
git reset
for more undo-like commands):git checkout .
git checkout {{file_name}}
git checkout {{branch_name}} -- {{file_name}}