Github API - Test Config

ComparisonStatus [enum]

The status of a git comparison between two refs.

Possible values
AHEAD

The head ref is ahead of the base ref.

BEHIND

The head ref is behind the base ref.

DIVERGED

The head ref is both ahead and behind of the base ref, indicating git history has diverged.

IDENTICAL

The head ref and base ref are identical.

API:
Github GraphQL API