This question is similar to this one, but more specific.
I have a project with two branches (staging and beta).
staging
beta
I develop
You can force checkout your branch, if you do not want to commit your local changes.
git checkout -f branch_name