fallback for libgit2 using command line git

- to avoid libgit2 installation in CI environments