git delete locally remote branch code example
Example 1: git delete remote branch
$ 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