def checkout_files(files)
      files = Array(files).select { |path| files_paths.include? path }
      checkout nil, files: files if files
    end
def checkout_files(files)
      files = Array(files).select { |path| files_paths.include? path }
      checkout nil, files: files if files
    end
i know, it exists in Git gem. But i prefer having here
 with my own checkout method as a pivotal point for all
 checkouts (as long as it is accurate)