Collaborate with GitHub Organizations

A GitHub organization allows a team (or an individual like me) to collaborate on related repositories. The organization owner(s) manage member(s) and repositories (repos). Each repo can be public or private, and members can have one of 5 permission levels with increasing level of control/danger: read, triage, write, maintain or admin. Organization and repo membership are managed, respectively, with the Settings menu in the upper right-hand corner.

References

My GitHub Organizations

I belong to a variety of GitHub Organizations:

Organization Profile README

An optional special repo in an organization, .github, can be used to provide an organization-level README and default settings. I use mine to provide a brief introduction to an organization and links to its resources. For instance, see the .github/README.md file in my byandell-envsys and byandell-sysgen repositories. The envsys README.md is very simple, providing a one-paragraph intro and links to resources. In contrast, the sysgen README.md has dropdown sections to help organize multiple repos. This is done with old style HTML code:

<details>
<summary>QTL Repos</summary>
<br>
...
</details>

Organization Authorization (OAuth)

Prompts:

Responses:

Root Cause

  • byandell-sysgen/qtlnet is hosted under a GitHub Organization (byandell-sysgen, active and not archived).
  • Your local origin remote was configured with HTTPS (https://github.com/byandell-sysgen/qtlnet.git), which routes sync/push in the IDE through its GitHub OAuth app. GitHub organizations block unapproved third-party OAuth apps by default, causing the IDE to report no push permission and offer to fork.
  • Meanwhile, your SSH key is already authenticated to GitHub as byandell (ssh -T git@github.com confirmed: Hi byandell! You've successfully authenticated).

Repo Fix Applied

  • Updated .git/config to switch origin from HTTPS to SSH:

    git@github.com:byandell-sysgen/qtlnet.git
    
  • Verified read-only connectivity via git ls-remote origin, which resolved refs/heads/master cleanly over SSH.

You can now stage, commit, and sync/push directly to byandell-sysgen/qtlnet from the IDE or terminal (no fork needed).

Switching origin to SSH git@github.com:byandell-sysgen/qtlnet.git bypasses OAuth app restrictions, so git push / IDE sync should work without changing any GitHub web settings.

Organization-level Fix

Optional (for other HTTPS repos in byandell-sysgen): If you also want HTTPS/OAuth syncing in the IDE to work for other repositories in the byandell-sysgen organization without switching each one to SSH, go to GitHub → Settings → Applications → Authorized OAuth Apps → select your IDE’s GitHub OAuth app → click Grant next to byandell-sysgen (or adjust Third-party access → OAuth application policy in the byandell-sysgen organization settings).

“Applications” is in your Personal GitHub settings, not on the Organization settings page. Here are the two exact places:

Option 1 — Right on the byandell-sysgen Organization Settings page you have open

  1. In the left sidebar under Third-party Access, click OAuth app policy (https://github.com/organizations/byandell-sysgen/settings/oauth_application_policy).
  2. Approve any pending OAuth app requests (click Review → Grant access), or remove OAuth app access restrictions for the org if you prefer.

Option 2 — From your Personal GitHub Settings (to grant a specific IDE app)

  1. Click your profile avatar (top-right corner of GitHub) → Settings.
  2. In the left sidebar under Integrations, click Applications → open the Authorized OAuth Apps tab.
  3. Click your IDE’s OAuth app (e.g., Visual Studio Code / GitHub for VS Code) → under Organization access, click Grant next to byandell-sysgen.

This site uses Just the Docs, a documentation theme for Jekyll.