For this question, you need to try
git fetch
So that your local repository gets all the new information from github. It just takes the information about new branches and actual code and it works fine after:
git checkout
This will help you to check out your branch.
You can also check out more Git commands on Git Tutorial.
Check out this video for git tutorial: