X_GH_NOT_AUTHENTICATED
Means
gh holds no credentials for this host
Typical cause
a fresh machine, an expired token, or a GitHub Enterprise host gh was never logged into. Detected from gh's own refusal text, so it is never confused with a network failure
Fix
gh auth login