You may have to delete locally a branch you’ve created and delete a distant branch.
To do so, you just have to remember that locally, you have to git branch something and at distance, you have to git push origin something.
To remove a local branch, you can type
git branch -d mybranch
To remove a distant branch, you can type
git push origin --delete mybranch