original_string: protected function getGitDirectory()
      {
          if ($this->gitDirectory === null) {
              $this->gitDirectory = $this->getWorktreeDirectory() . '/.git';
          }
  
          return $this->gitDirectory;
      }
code: protected function getGitDirectory()
      {
          if ($this->gitDirectory === null) {
              $this->gitDirectory = $this->getWorktreeDirectory() . '/.git';
          }
  
          return $this->gitDirectory;
      }
code_tokens: protected function getGitDirectory ( ) { if ( $ this -> gitDirectory === null ) { $ this -> gitDirectory = $ this -> getWorktreeDirectory ( ) . '/.git' ; } return $ this -> gitDirectory ; }
docstring: Get the git directory.
  
  @throws UserMessageException
  
  @return string
docstring_tokens: Get the git directory .