public function collectGitInfo()
    {
        $command = new GitCommand();
        $gitCollector = new GitInfoCollector($command);

        $this->jsonFile->setGit($gitCollector->collect());

        return $this;
    }
public function collectGitInfo()
    {
        $command = new GitCommand();
        $gitCollector = new GitInfoCollector($command);

        $this->jsonFile->setGit($gitCollector->collect());

        return $this;
    }
public function collectGitInfo ( ) { $ command = new GitCommand ( ) ; $ gitCollector = new GitInfoCollector ( $ command ) ; $ this -> jsonFile -> setGit ( $ gitCollector -> collect ( ) ) ; return $ this ; }
Collect git repository info into json_file.

@return $this
Collect git repository info into json_file .