patrik@patrik-desktop:/var/www/master$ git branch -a * newbake remotes/origin/HEAD -> origin/newbake remotes/origin/master remotes/origin/newbake patrik@patrik-desktop:/var/www/master$ git checkout remotes/origin/master Note: checking out 'remotes/origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 10b2c47... Changed some fixtures.