odstrániť vetvu v git
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
odstrániť vzdialený git
# The example will remove the github remote.
# Note that the command will not delete the repository,
# just the local reference.
git remote rm origin
github odstrániť pobočku remote
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
ako odstrániť vzdialený pôvod git
git remote remove origin
odstrániť lokálnu a vzdialenú vetvu github
$ git push <remote_name> :<branch_name>