Update libgit2 binaries to 40a6051

https://github.com/libgit2/libgit2/compare/5f9f69d...40a6051
Teach Network to list references on a remote