In the Spec Editor, you can delete a branch only if it is attached to that specific spec. If it is attached to multiple specifications, you cannot delete the branch.
In the Component Manager, you can delete a branch if it is not attached to any specs. If it is attached to any specs, you cannot delete the branch.