public function checkout($branch, $repoPath = null) { $command = 'checkout ' . $branch; return $this->command($command, $repoPath); }