Why does creating new branches in Xcode9 always fail with "not a valid branch name"?

Viewed 730

Whenever I try to create a new branch, it says: The name "MY-BRANCH-NAME" is not a valid branch name. I am adding the steps I performed while trying to create a new branch.

Why is this happening?

P.s.- There are no uncommitted changes and everything is pushed to github repository.

first step

second step

The problem

2 Answers
Related