code: def create_commit(profile, message, tree, parents):
      
      resource = "/commits"
      payload = {"message": message, "tree": tree, "parents": parents}
      data = api.post_request(profile, resource, payload)
      return prepare(data)
docs: Create a commit.
  
      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.
  
          message
              The commit message to give to the commit.
  
          tree
              The SHA of the tree to assign to the commit.
  
          parents
              A list enumerating the SHAs of the new commit's parent commits.
  
      Returns:
          A dict with data about the commit.