# Deleting a local branch doesn't affect a remote branch. To delete a local Git branch, run: git branch -d [branch_name] # Use the following syntax to delete a remote Git branch: git push [remote_project] --delete [branch_name]