def delete_old_branches
      return unless extra_branches.any?
      should_delete = should_delete_old_branches || cli.ask_boolean("Do you want to delete the old #{branch_type} branch(es)? (#{extra_branches.join(", ")})")

      if should_delete
        extra_branches.each do |extra|
          Git.delete_branch(extra)
        end
      end
    end
def delete_old_branches
      return unless extra_branches.any?
      should_delete = should_delete_old_branches || cli.ask_boolean("Do you want to delete the old #{branch_type} branch(es)? (#{extra_branches.join(", ")})")

      if should_delete
        extra_branches.each do |extra|
          Git.delete_branch(extra)
        end
      end
    end
Public: If necessary, and if user opts to, delete old branches of its type