public function fetch($from = null, $ref = null, bool $tags = false)
    {
        $options = [];
        if ($tags === true) {
            $options = ['--tags'];
        }
        $this->caller->execute(FetchCommand::getInstance($this)->fetch($from, $ref, $options));
    }
public function fetch($from = null, $ref = null, bool $tags = false)
    {
        $options = [];
        if ($tags === true) {
            $options = ['--tags'];
        }
        $this->caller->execute(FetchCommand::getInstance($this)->fetch($from, $ref, $options));
    }
public function fetch ( $ from = null , $ ref = null , bool $ tags = false ) { $ options = [ ] ; if ( $ tags === true ) { $ options = [ '--tags' ] ; } $ this -> caller -> execute ( FetchCommand :: getInstance ( $ this ) -> fetch ( $ from , $ ref , $ options ) ) ; }
Download objects and refs from another repository

@param string $from
@param string $ref
@param bool   $tags

@throws \RuntimeException
@throws \Symfony\Component\Process\Exception\LogicException
@throws InvalidArgumentException
@throws \Symfony\Component\Process\Exception\RuntimeException
Download objects and refs from another repository