Find.prune if File.basename(path) == '.git'
          if File.directory?(path) && Dir.entries(path).count == 2
            FileUtils.touch(File.join(path, '.gitignore'))
          end