class Git::Commands::Clone

Implements the ‘git clone` command

Clones a repository into a newly created directory.

@example Typical usage

clone = Git::Commands::Clone.new(execution_context)
clone.call('https://github.com/user/repo.git')
clone.call('https://github.com/user/repo.git', 'local-dir')
clone.call('https://github.com/user/repo.git', 'local-dir', bare: true)
clone.call('https://github.com/user/repo.git', 'local-dir', depth: 1)

@note ‘arguments` block audited against git-scm.com/docs/git-clone/2.53.0

@see git-scm.com/docs/git-clone git-clone

@see Git::Commands

@api private