//If you don't care about your local changes, //you can switch to other branch temporary (with force), //and switch it back, e.g. : git checkout master -f
git stash
git stash pop