Creates a git_merge_head from the given commit id. The resulting git_merge_head must be freed with git_merge_head_free.
git_merge_head
git_merge_head_free
pointer to store the git_merge_head result in
repository that contains the given commit
the commit object id to use as a merge input
0 on success or error code