Reconcile the changes between the ffi changes upstream with the changes to libgit2 in the dev branch. Conflicts: src/config.c src/options.c src/refspec.c src/remote.c