delete branch only locally code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: git delete local branch
git branch -d test
$ git push origin --delete feature/login
git branch -d test