paths = $paths; } public function locate(array $options): Repository { return new Repository( $this->paths->getGitRepositoryDir(), array_merge( [ 'working_dir' => $this->paths->getGitWorkingDir(), ], $options ) ); } }