Move try_merge_command and checkout_fast_forward to libgit.a