src/Console/Helper/PathsHelper.php
public function getGitDir(): string
    {
        $gitDir = $this->config->getGitDir();
        if (!$this->fileSystem->exists($gitDir)) {
            throw new RuntimeException('The configured GIT directory could not be found.');
        }

        return $this->getRelativePath($gitDir);
    }
public function getGitDir(): string
    {
        $gitDir = $this->config->getGitDir();
        if (!$this->fileSystem->exists($gitDir)) {
            throw new RuntimeException('The configured GIT directory could not be found.');
        }

        return $this->getRelativePath($gitDir);
    }
public function getGitDir ( ) : string { $ gitDir = $ this -> config -> getGitDir ( ) ; if ( ! $ this -> fileSystem -> exists ( $ gitDir ) ) { throw new RuntimeException ( 'The configured GIT directory could not be found.' ) ; } return $ this -> getRelativePath ( $ gitDir ) ; }
Find the relative git directory.
Find the relative git directory .