Creates a git_merge_head from the given commit id
git_merge_head
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
zero on success, -1 on failure.