pub async fn is_git_repo(cwd: &Path) -> bool
Check if the given directory is inside a git repository.