how to remove chekout branch code example Example: delete local branch git git branch -d <branch_name>