private function currentBranch() { $currentBranch = $this->git->branch; if ($currentBranch != 'HEAD') { return $currentBranch; } return false; }