If you are using Git version 2.24 or newer you can also use the command:
git switch --create <NAME-OF-BRANCH>
How do I remove a local branch?
$ git branch -D <NAME-OF-BRANCH>
What should I name my local branches?
If you are using the Skara CLI tools then and have the branch you want to publish currently checked out, then you can just run the command
How do I remove a remote branch?
$ git push --delete origin <NAME-OF-BRANCH>
Note: the above command assumes that the branch exists in the remote repository that origin is referring to.
How do I merge commits from another branch into the current branch?