findGitRepos method
Find all git repositories under root.
Convenience method that scans recursively and filters by GitFolder nature. Includes the root itself if it's a git repository.
Implementation
Future<List<GitFolder>> findGitRepos(String root) async {
final results = await scan(root);
return results.byNature<GitFolder>().toList();
}