how to remove one branch in git from local code example
Example 1: Delete a Git Branch In Local And Remotely
git push <remote_name> --delete <branch_name>
Example 2: git remove local branch
$ git push -d <remote_name> <branch_name>
$ git branch -D <branch_name>