For example, I have a branch named /feature and I wanted to create a new feature branch under it, like feature/MyTask-01.
I tried using command git branch feature/MyTask-01 but it always gives me this error:
$ git branch feature/My-Task-01
fatal: cannot lock ref 'refs/heads/feature/My-Task-01`: 'refs/heads/feature' exists; cannot create 'refs/heads/feature/My-Task-01'