Update libgit2 to 3f8d005

Updating libgit2 to `0a62918`.  The current version in HEAD (`0383fa`) had an unfortunate bug updating the tree cache (https://github.com/libgit2/libgit2/issues/2629) that can cause some issues.
If it was deleted from lg2 in the first place because it was too restrictive, those test cases are wrong anyway. ¯\(°_o)/¯