libgit++, a wrapper c++ of libgit2
/* With working directory: */
auto git = Git::Repository::init(“/tmp/…”);
/* …or bare: */
auto git = Git::Repository::init(“/tmp/…”, true);
auto git = Git::Repository::clone(“http://…”, “/tmp/…”)
/* With Git::Repository object */
git->clone(“/tmp/…”);
auto git = Git::Repository::open(“/tmp/…”)
Git::Repository::isRepository(“/tmp/…”);