/** * @return string */ public function getCommitHash($rep = 'HEAD') { $this->git->fetchAll(); return trim($this->wrapper->git('rev-parse ' . $rep)); }