github delete code from branch code example Example: delete branch from github mcd $ git branch -d branch_name $ git branch -D branch_name