docs: def create_ref(profile, ref, sha):
      """Create a ref.
  
      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.
  
          ref
              The ref to create, e.g., ``heads/my-feature-branch``.
  
          sha
              The SHA of the commit to point the ref to.
  
      Returns
          A dict with data about the ref.
  
      """
      resource = "/refs"
      payload = {"ref": "refs/" + ref, "sha": sha}
      data = api.post_request(profile, resource, payload)
      return prepare(data)