public function installViaGit()
    {
        return new Process(sprintf(
            'cd %s && git clone %s %s && cd %s && git checkout %s',
            base_path(),
            $this->getRepoUrl(),
            $this->getDestinationPath(),
            $this->getDestinationPath(),
            $this->getBranch()
        ));
    }
public function installViaGit()
    {
        return new Process(sprintf(
            'cd %s && git clone %s %s && cd %s && git checkout %s',
            base_path(),
            $this->getRepoUrl(),
            $this->getDestinationPath(),
            $this->getDestinationPath(),
            $this->getBranch()
        ));
    }
public function installViaGit ( ) { return new Process ( sprintf ( 'cd %s && git clone %s %s && cd %s && git checkout %s' , base_path ( ) , $ this -> getRepoUrl ( ) , $ this -> getDestinationPath ( ) , $ this -> getDestinationPath ( ) , $ this -> getBranch ( ) ) ) ; }
Install the module via git.

@return \Symfony\Component\Process\Process
Install the module via git .