Updated 2026-11-30
"Restricted" is generally lighter than a full suspension — you can usually still log in and view things, but specific actions like creating new repos, posting content, or authorizing OAuth apps are commonly blocked while GitHub reviews it. Read the exact notice, file an appeal, and keep a second remote ready so blocked actions don't actually block your work.
| State | Login | Typical blocked actions |
|---|---|---|
| Restricted | Usually works | New content, some API calls, sometimes OAuth |
| Flagged | Usually works | OAuth authorize screen specifically — see the exact OAuth flag error |
| Suspended | Typically blocked entirely | Everything — see suspended for no reason |
These labels and their exact scopes aren't always consistent — treat this as a general guide and verify what's actually blocked on your account, not as a fixed rulebook.
GitHub typically shows a notice naming the restricted action when you try it (for example, when creating a repo or authorizing an app). That wording is the most reliable signal for what's actually affected.
Through GitHub's contact form. There's no self-serve way to clear a restriction — it requires a human review on GitHub's side, with no published turnaround time.
If repo creation or OAuth is blocked but existing pushes still work, that's often enough to keep shipping on existing repos. For anything that genuinely needs the blocked action (a brand-new repo, a new CI integration), set it up on a second host instead of waiting:
git remote add rithub https://rithub.dev/<you>/<repo>.git git push rithub --mirror
Is restricted the same as suspended?
No — generally lighter; login and some actions usually still work, specific actions are blocked.
What should I do first?
Read the exact restriction notice, then file a support ticket referencing it.
Can I still push code?
Often yes for existing repos; new repo creation and OAuth are more commonly affected.