You have to commit into the branch first. Only then you'll actually have the branch created and will be able to switch between default and your own branch.