Remove copied libgit2 dir and add as a submodule.
Make sure header files are copied.