If you did not push the branch to the remote computer, you can simply delete it locally:
git branch -d my_branch
. git , , . , , git branch -D my_branch.
, :
git branch -a
:
* master
my_branch
remotes/origin/master
( * )
, "" my_branch, . , ( ).
, :
git push origin :my_branch