public function getRepository() { if (!$this->SHA) { return null; } return $this->Environment()->Project()->getRepository(); }