def METHOD_NAME() -> Repo | None:
    """Git repository object.
    Returns:
        Repo: Repo object of content repo if exists else retun None.
    References:
        1. GitPython - https://github.com/gitpython-developers/GitPython
    Notes:
        1. Should be called when cwd inside content repository.
    """
    try:
        if content_path := os.getenv("DEMISTO_SDK_CONTENT_PATH"):
            repo = Repo(content_path)
            logger.debug(f"Using content path: {content_path}")
        else:
            repo = Repo(Path.cwd(), search_parent_directories=True)
    except InvalidGitRepositoryError:
        logger.debug("Git repo was not found.")
        repo = None
    return repo