git remove remote branch but keep local code example
Example 1: git branch delete remote
$ git push origin --delete feature/login
Example 2: delete local and remote branch github
git branch -d branch_namegit branch -D branch_name
$ git push origin --delete feature/login
git branch -d branch_namegit branch -D branch_name