# File lib/r10k/git/shellgit/working_repository.rb, line 30
  def clone(remote, opts = {})
    argv = ['clone', remote, @path.to_s]
    if opts[:reference]
      argv += ['--reference', opts[:reference]]
    end
    git argv

    if opts[:ref]
      checkout(opts[:ref])
    end
  end