Which GitHub sign-in your sessions use (and personal repositories)
- Every time a session fetches or pushes to GitHub, it asks Omniscio for a sign-in right then, and gets Omniscio's key when that key can reach the repository. - If GitHub says the key cannot reach it, the session uses the repository's own sign-in instead — usually Git Credential Manager — exactly as a normal terminal would. - Your own logins are never changed.
On this page
What it is
Omniscio signs sessions in to GitHub with the key it holds (from gh). Some keys only work for some repositories: a fine-grained key made for a company organisation, for example, can only ever see that organisation's repositories. Before this change, Omniscio handed that key to every GitHub repository and switched off the repository's own sign-in, so pushing to a personal repository failed with "Write access to repository not granted".
Now Omniscio first asks GitHub whether its key can reach the repository git is working in:
- It can — the session gets Omniscio's key. Nothing changes for those repositories.
- It cannot — Omniscio answers "no key, use your own sign-in". Git then uses the sign-in that repository is set up with (Git Credential Manager on Windows), and saves the result back so you are not asked again.
- GitHub cannot be asked right now (offline, busy, rate-limited) — the session gets Omniscio's key, as before.
Omniscio remembers each answer for 5 minutes, or 1 minute after a "cannot", so it does not ask GitHub on every command.
Where to find it
There is nothing to switch on. It runs whenever a session runs git against GitHub; the key
Omniscio holds is the one your own gh login gave it.
How it behaves
- A sign-in window may appear. If the repository's own sign-in has no saved login yet, Git Credential Manager can open its sign-in window, just like in a terminal. Sign in once and it is saved.
- Public repositories are not covered. GitHub lets any key read a public repository, so Omniscio's key is still handed out there, and a push with it can still fail.
- Another person's login is never used. When Omniscio holds back a key for any other reason — for example, the GitHub login belongs to another Omniscio person on this computer — git does not fall back to the repository's sign-in.
- Nothing about your
ghlogin, Omniscio's key or your Git Credential Manager login is changed by this.
Related
- GitHub integration — the sign-in Omniscio itself uses, and where to change it.
Last verified 2026-11-24