$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/lab_master
remotes/origin/master
$ git checkout lab_master
error: Your local changes to the following files would be overwritten by checkou t:
**project.properties**
Please, commit your changes or stash them before you can switch branches.
Aborting
why i just failed to checkout lab_master branch?
another question: why i cannot compare current file with the file in another branch?
$ git diff project.properties -b lab_master
fatal: bad flag '-b' used after filename