Currently all local branches except the active one can be deleted. It could be interesting to forbid deletion of some branches (like master/main). Ideally this should be a settings.