def METHOD_NAME(git_repo_dir: Path) -> Tuple[Optional[Path], ConfigKeyPathType]:
    key: ConfigKeyPathType = ()
    path = git_repo_dir / CONFIG_FILE_NAME
    if not path.exists():
        path = git_repo_dir / PYPROJECT_TOML
        key = CONFIG_KEY_IN_PYPROJECT
    return path if path.exists() else None, key