удалить ветвь в git
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
удалить удаленный 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 удаленное удаление ветки
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
как удалить удаленный источник git
git remote remove origin
удалить локальную и удаленную ветвь github
$ git push <remote_name> :<branch_name>