how to delete git local branch? code example Example: remove local branch git branch -d branch_namegit branch -D branch_name