Ever get this message when you are certain that the branch you are trying to pull exists? Even after you do a fetch, git pull origin develop just doesn't work?
Well first do:
This shows all of the branches you have references to. If you see the one you are trying to pull in this list do the following command:
git checkout -t -b develop origin/develop
This will successfully create a new branch on your local and fill it with all the stuff in the origin.