code: def get_files_in_branch(profile, branch_sha):
      
      tree_sha = get_commit_tree(profile, branch_sha)
      files = get_files_in_tree(profile, tree_sha)
      tree = [prepare(x) for x in files]
      return tree
docs: Get all files in a branch's tree.
  
      Args:
  
          profile
              A profile generated from ``simplygithub.authentication.profile``.
              Such profiles tell this module (i) the ``repo`` to connect to,
              and (ii) the ``token`` to connect with.
  
          branch_sha
              The SHA a branch's HEAD points to.
  
      Returns:
          A list of dicts containing info about each blob in the tree.