protected function gitInit(Git $git) { if ($this->file->isDirectory($this->projectLower)) { $git->init($this->projectLower); } }