git borrar rama local y remote code example
Example 1: git borrar rama local y remote
git push origin --delete {the_remote_branch}
Example 2: git borrar rama local y remote
$ git push <remote_name> --delete <branch_name>
Example 3: git borrar rama local y remote
$ git push --delete <remote_name> <branch_name>
$ git branch -d <branch_name>