Creates a git_annotated_commit from the given reference.
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 reference
@param ref_ reference to use to lookup the git_annotated_commit
@return 0 on success or error code
Creates a git_annotated_commit from the given reference. 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 reference @param ref_ reference to use to lookup the git_annotated_commit @return 0 on success or error code