Zig FFI bindings for libgit2 - direct git repository access without subprocess calls.
const git = @import("zig-libgit2-ffi");
var repo = try git.Repository.open("/path/to/repo");
defer repo.close();
if (try repo.isClean()) {
std.debug.print("Working directory is clean\n", .{});
}