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