how to delete git branch in github by command line code example Example: delete local branch git git branch -d <branch_name>