docs: def collect_modules(self):
          """Generator to look for git files in tree. Will handle all lines."""
          for path, dirlist, filelist in os.walk(self.root):
              for name in fnmatch.filter(filelist, self.filter):
                  if self.is_git_file(path, name):
                      yield (os.path.join(path, name), [])