I created a new directory c:\Src, where I've cloned a repository. After cloning I get the following
$ git branch
* Search
$ git branch -a
* Search
remotes/origin/master
remotes/origin/prototype
If i then try
$ git checkout -b master origin/master
it returns
error: You have local changes to '<some_file>'; cannot switch branches
pull gives the same error.
I have not made any changes, and I'm confused why it doesn't use the master branch as default?