Related questions
How do I delete a Git branch locally and remotely?
I want to delete a branch both locally and remotely.
Failed Attempts to Delete a Remote Branch
$ git branch -d remotes/origin/bugfix
error: branch 'remotes/origin/bugfix' not found.
$ git branch -d origin/bugfix
error: branch 'origin/bugfix' not …
How do I clone a specific Git branch?
Git clone will behave copying remote current working branch into local.
Is there any way to clone a specific branch by myself without switching branches on the remote repository?