code: def dump_br_version(project):
      
      normalized = get_version(project)
      sha = subprocess.check_output(
          ['git', 'rev-parse', 'HEAD'], cwd=HERE).strip()
      branch = subprocess.check_output(
          ['git', 'rev-parse', '--abbrev-ref', 'HEAD'], cwd=HERE).strip()
      pref = br_version_prefixes[project]
      return json.dumps({pref+'_version': normalized,
                         pref+'_sha': sha,
                         pref+'_branch': branch})
docs: Dump an enhanced version json including
      - The version from package.json
      - The current branch (if it can be found)
      - The current sha