Excluindo o ramo remoto no GitHub
git push origin -d test
Homeless Hamerkop
git push origin -d test
git fetch origin --prune
#delete remote branch
git push -d <remote_name> <branch_name>
#example: git push -d origin new_feature
#delete local branch
git branch -d <branch_name>
#example: git branch -d new_feature
// Delete branch locally
% git branch -D <branch-name>
// Delete branch remotely
% git push origin --delete <branch-name>
$ git push origin --delete remote-branch-name
$ git push -d <remote_name> <branchname>
$ git branch -d <branchname>