how to remove a remove local branch code example Example: how to delete branch locally $ git branch -d <local-branch>