git delete a local branch and its origin code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: git delete origin branch
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>