command to delete branches on local repo ' code example
Example 1: delete local branch git
git branch -d <branch_name>
Example 2: delete remote git branch
git push --delete remoteName branchName
git branch -d <branch_name>
git push --delete remoteName branchName