public function isTracking() { try { $this->run(array('rev-parse @{u}')); } catch (GitException $e) { return false; } return true; }