/**
  * Collect git repository info into json_file.
  *
  * @return \Satooshi\Bundle\CoverallsV1Bundle\Repository\JobsRepository
  */
 protected function collectGitInfo()
 {
     if (false === $this->config->useGitInformation()) {
         return $this;
     }
     $this->logger->info('Collect git info');
     $this->api->collectGitInfo();
     return $this;
 }