code: def clone_repo(self):
          
          tempdir_path = tempfile.mkdtemp()
  
          if self.args.git:
              self.log.debug('Cloning git source repository from %s to %s',
                             self.source, tempdir_path)
              self.sh('git clone', self.source, tempdir_path)
  
          else:
              raise NotImplementedError('Unknown repo type')
  
          self.source = tempdir_path
docs: Clone a repository containing the dotfiles source.