Merge pull request #126 from rowanj/update-libgit2

Update to upstream libgit2
Merge branch 'refs/heads/fixSubmodulesInGitDir'