Introduce git_merge_base_many (#629)

#629