Creates a git_annotated_commit from the given fetch head data. The resulting git_annotated_commit must be freed with git_annotated_commit_free.
pointer to store the git_annotated_commit result in
repository that contains the given commit
name of the (remote) branch
url of the remote
the commit object id of the remote branch
0 on success or error code
See Implementation
Creates a git_annotated_commit from the given fetch head data. The resulting git_annotated_commit must be freed with git_annotated_commit_free.