update libgit2
Merge pull request #156 from nvloff/libgit2_update_reset

update libgit2 with the reset changes