delete main branch github remote code example
Example 1: github delete branch remote
$ git push origin --delete feature/login
Example 2: delete remote branch
git branch -r -d remoteBranchName
$ git push origin --delete feature/login
git branch -r -d remoteBranchName