Returns a directory path of a Git repository.