Whether the filepath is a git repository.
import { isGit, isGitSync } from "https://deno.land/x/is_git/mod.ts";
await isGit(); // true or false of Deno.cwd()
await isGit('any/git/repo'); // true or false
isGitSync(); // true or false of Deno.cwd()
isGitSync('any/git/repo'); // true or false
deno run --allow-read https://deno.land/x/is_git/example.ts
deno_is_git is released under the MIT License. See the bundled LICENSE file for details.