git checkout -f <Branch Name>
Force a Checkout
Pass the -f or --force optionwith the git checkout command
to force Git to switch branches,
even if you have un-staged changes
(in other words, the index of the working tree differs from HEAD).
Basically, it can be used to throw away local changes