There is also another flag to mention, which is relative to these..
git checkout -B BRANCH_NAME
This is a very useful command that i've been using recently. This command checks out the branch you specify, and resets the branch based on the source branch.