Update to latest libgit2 API renaming

See libgit2 commit 25743bd7c5f14f2287d9c4, where git_index_add_from_workdir
was renamed to git_index_add_bypath