You misnamed your branch
Checkout the branch in question and enter:
git branch -m <currentName> <desiredName>
Here's what we get:
Figure 12.7: Renaming branch foo to bar
In Figure 12.7 you create the branch foo and then check it out. Finally, you rename it as shown above and your branch name is changed.