remove from remote git branch code example
Example 1: delete remote branch
git branch -r -d remoteBranchName
Example 2: Delete a Git Branch In Local And Remotely
git push <remote_name> --delete <branch_name>
git branch -r -d remoteBranchName
git push <remote_name> --delete <branch_name>