how to delete brach in git locally code example
Example 1: how to delete branch locally
$ git branch -d <local-branch>
Example 2: remove branch local git
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
$ git branch -d <local-branch>
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>