How to Set Up a GitHub Organization: Requirements and Step-by-Step Guide
CK 3828 Created at
13800
Prerequisites and Requirements
Before creating a GitHub Organization, ensure you have the following ready:
Personal GitHub Account: An organization cannot exist independently; it must be created and managed by a personal GitHub user account that acts as the initial owner.
Organization Name: A unique, available username for the organization. This will form part of your organization's URL (github.com/your-organization-name).
Contact Email Address: A valid, monitored email address for administrative and billing notifications.
Payment Method (If applicable): A credit card or PayPal account if you select a paid plan (Team or Enterprise). The Free plan does not require billing information.
Domain Control (Optional but recommended): Access to your company’s domain DNS settings if you plan to verify domain ownership for enhanced security and branding.
Step-by-Step Setup Process
Step 1: Navigate to Organization Creation
Log in to your personal GitHub account.
In the top-right corner of any page, click your profile picture, then select Your organizations.
Click the New organization button (or navigate directly to github.com/organizations/plan).
Step 2: Select a Plan
Choose the plan that fits your organization's needs:
GitHub Free: Basic features for unlimited public/private repositories with limited Action minutes and storage.
GitHub Enterprise: Advanced security, SAML single sign-on (SSO), centralized administration, and compliance tools.
Step 3: Fill Out Organization Details
Organization account name: Enter your desired organization name.
Contact email: Enter the primary email address for billing and security alerts.
Belonging type: Specify whether the organization belongs to a My personal account or a Business / Institution.
Step 4: Billing Information (Paid Plans Only)
If you selected the Team or Enterprise plan:
Specify the number of initial seats (licenses) you want to purchase.
Enter your billing information and payment details.
Step 5: Invite Initial Members
Type the GitHub usernames or email addresses of team members you want to add.
Assign them an initial role (Member or Owner).
Click Complete setup or Finish.
Essential Initial Configurations
After creating the organization, configure these key settings to ensure security and smooth governance:
1. Security Settings
Enforce Two-Factor Authentication (2FA): Go to Settings > Organization security and check Require two-factor authentication for everyone in your organization.
Base Permissions: Set the default repository permissions for all members (No access, Read, Write, or Admin) under Settings > Member privileges.
2. Verify Your Domain
Navigate to Settings > Verified & approved domains.
Add your organization's domain and follow the instructions to add a TXT record to your DNS settings.
Benefit: Restricts email notifications to approved domain emails and displays a "Verified" badge on your organization's profile.
3. Repository Creation Restrictions
Under Settings > Member privileges, define who can create public, private, or internal repositories to prevent unauthorized code disclosure.
Managing Roles and Permissions
GitHub Organizations use a role-based access control (RBAC) model:
Organization Owners: Full administrative access, including billing, member management, organization deletion, and security settings. Limit this role to at least two trusted individuals (for redundancy) but keep the total number low.
Organization Members: Regular users who can collaborate on repositories based on assigned permissions.
Billing Managers: Users who can manage payment methods and subscription plans without having access to repository code or security settings.
Teams: Groups of members used to manage permissions at scale. You can assign repository permissions directly to a team rather than individual users.