Git version : 2.4.1.652.g8fd8657 When we run git checkout -babar, we would expect an error message like "unknown switch 'a' " and we get "Switched to a new branch 'abar'". We are not sure since we don't entirely understand the syntax -b <branch> which is shown in the documentation, but as average users, we found it a bit surprising. Guillaume Pagès -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html