Use libgit2 for cat command