rm branch local git code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: delete local branch git
git branch -d <branch_name>
Example 3: delete remote git branch
git push --delete remoteName branchName