The following command can be used to delete a local branch in git

git branch -d master.my-branch