public function getGitConfig($config, $section = 'local', $all = false) { return trim($this->processHelper->runCommand(sprintf('git config --%s --%s %s', $section, $all ? 'get-all' : 'get', $config), true)); }