[libgit2] initial port