delete everything from specific repository branch on git code example Example: delete local branch git git branch -d <branch_name>