public function cloneTo($path, $bare = true, array $options = array())
    {
        return Admin::cloneTo($path, $this->gitDir, $bare, $options);
    }
public function cloneTo($path, $bare = true, array $options = array())
    {
        return Admin::cloneTo($path, $this->gitDir, $bare, $options);
    }
public function cloneTo ( $ path , $ bare = true , array $ options = array ( ) ) { return Admin :: cloneTo ( $ path , $ this -> gitDir , $ bare , $ options ) ; }
Clones the current repository to a new directory and return instance of new repository.

@param string $path path to the new repository in which current repository will be cloned
@param bool   $bare flag indicating if repository is bare or has a working-copy

@return Repository the newly created repository
Clones the current repository to a new directory and return instance of new repository .