Creates a git_annotated_commit from the given fetch head data. The resulting git_annotated_commit must be freed with git_annotated_commit_free.
git_annotated_commit
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
0 on success or error code