remove a localbranch git code example
Example 1: Delete a Git Branch In Local And Remotely
git push <remote_name> --delete <branch_name>
Example 2: cmd delete branch
git branch -d yourBranch # delete local branch
git push origin --delete yourBranch # delete branch on repo/push change