code: def branches(config, verbose=False):
      """Show current branch points.
  
      :param config: a :class:`.Config` instance.
  
      :param verbose: output in verbose mode.
  
      """
      script = ScriptDirectory.from_config(config)
      for sc in script.walk_revisions():
          if sc.is_branch_point:
              config.print_stdout(
                  "%s\n%s\n",
                  sc.cmd_format(verbose, include_branches=True),
                  "\n".join(
                      "%s -> %s"
                      % (
                          " " * len(str(sc.revision)),
                          rev_obj.cmd_format(
                              False,
                              include_branches=True,
                              include_doc=verbose,
                          ),
                      )
                      for rev_obj in (
                          script.get_revision(rev) for rev in sc.nextrev
                      )
                  ),
              )
  
imports: from __future__ import annotations
  import os
  from typing import List
  from typing import Optional
  from typing import TYPE_CHECKING
  from typing import Union
  from .None import autogenerate
  from .None import util
  from .runtime.environment import EnvironmentContext
  from .script import ScriptDirectory
label_desc: Use image node_id 11 for calling a global function with example usage: branches(config, verbose) without return types