code: def set_up_clone(self, repo_name, remote_repo):
          
          dirname = self.clone_dir(repo_name)
          self.to_cleanup[repo_name] = dirname
          klass = self.get_repo_class()
          repo = klass(repo_name,
                       dirname,
                       self.tools,
                       self.executor,
                       shallow=self.shallow_clone)
          return (dirname, repo)
docs: Sets up the working directory and returns a tuple of
          (dirname, repo )