How to set up GitHub for your business
Keep your code somewhere your business controls. Set up GitHub, protect your login, and give developers access without handing over the whole workspace.
Londynn Metten
· 7 min read · Updated
You’ll end up with
A secure, business-controlled GitHub workspace
- Time
- About 20–30 minutes
- Cost
- Free account setup
- Level
- Beginner
Part 11 of 13 in Own your business technology
The short answer
To set up GitHub for a business, create your own login, enable two-factor authentication, and create an organization where the business owns its repositories. Keep a trusted business representative as Owner. When you need help, invite a collaborator to the relevant repositories and choose permissions for their work. Organization membership and repository access are separate choices; neither requires making a developer an organization Owner.
What does owning your GitHub workspace let you do?
Your website can be live and working while the only copy of its code sits in someone else’s workspace. That arrangement may be convenient today. The question is whether you can get the code, bring in help, and keep the project moving when you want to change something.
A business-controlled GitHub organization gives you a place to keep the code and its history, decide who can work on it, and bring in a different developer without first relocating the project. It also gives you a place to review proposed changes before they reach the live site.
That does not mean every owner should edit code. Changing a sentence may be straightforward; changing a payment flow is a different job. Your project should have a clear route for testing, publishing, and undoing changes. If you only need to update opening hours or add a photo, a content editor may be the better tool.
This is the GitHub guide in Own your business technology. If you are still deciding how much to manage yourself, start with the ownership decision guide.
Is this the right setup for your business?
A GitHub organization is useful if your business has custom website or application code and wants control of the development workspace. If your site runs entirely inside a hosted builder and you do not maintain a separate codebase, you may not need GitHub at all.
The tradeoff is a little account administration: keeping owners current, protecting logins, reviewing access, and understanding how a code change gets published. You can delegate development while still keeping the organization under business control.
How do you create your GitHub login?
Account setup is free. Paid plans, product subscriptions, and usage are separate. Allow about 20–30 minutes for setup, plus time for any collaborator to accept an invitation.
Open GitHub signup.
- 01Choose an available username that identifies you. Reserve your business name for the organization if possible.
- 02Enter an email address you control, create a unique password, and complete the signup prompts. Save the login in your password manager.
- 03Complete the email verification GitHub sends you.
- 04If onboarding offers optional products, continue without adding them unless you already need them.
Official instructions: Create a GitHub account.
How do you secure your login?
- 01Open your profile picture, then Settings. Select Password and authentication.
- 02Under Two-factor authentication, select Enable two-factor authentication.
- 03Follow the authenticator-app setup and enter the generated code to verify it.
- 04Save the recovery codes in your password manager and finish setup. Add a backup authentication method when available.
Recovery codes let you regain access if your normal second factor is unavailable. Keep them private, including from anyone you invite.
Official instructions: Configure GitHub two-factor authentication.
How do you create the business organization?
- 01From your profile picture, open Settings, then Organizations. Select New organization.
- 02Choose GitHub Free to start unless your project already calls for a paid plan. Review any costs before accepting an upgrade.
- 03Enter an available organization name based on your business and a business-controlled contact email.
- 04Identify the business as the organization owner when the setup asks who it belongs to. Complete the remaining prompts.
- 05Open the new organization and confirm your account has the Owner role. Record its name and URL in your business account register.
An empty organization is fine. If code already exists elsewhere, arrange its transfer with your developer rather than creating a second copy.
Official instructions: Create a GitHub organization.
How do you invite a developer or teammate?
For a freelancer working on one repository, an outside-collaborator invitation can be enough. For someone who needs to join your project teams, invite them as an organization Member and then assign repository access. Choose the route that matches the collaboration.
For access to an existing repository:
- 01Open the repository in your business organization. Choose Settings, then Collaborators and teams.
- 02Choose Add people and find the exact GitHub username you confirmed with the person. For an existing organization team, choose Add teams instead.
- 03Choose Read for viewing code or reviewing a project without edits, Write for contributing code, or Admin when the person needs to manage repository settings and access.
- 04Send or confirm the invitation. Ask the person to accept it and verify access to that repository.
For team-based collaboration, first open the organization’s People tab, choose Invite member, find the confirmed username, and select Member. Add the person to the intended team and grant that team the required repository role. Organization membership alone may not grant private-repository access.
Owner controls the organization and all its repositories. Reserve it for people entrusted with the business workspace. A developer’s need to change code usually calls for Write; discuss the specific task before granting broader access.
If the organization is empty, you can leave it that way until you are ready to start. Agree who will create the first repository and check the organization’s repository-creation permissions.
Official instructions: Manage repository access.
Official instructions: Invite organization members.
Official instructions: Add outside collaborators.
How do you know setup is complete?
- You can sign in using your own login and second factor.
- Your business organization lists you as Owner.
- If you invited someone, they have accepted the invitation and confirmed access to the intended repositories.
- Project repositories appear under the business organization, or their transfer is scheduled.
- You have saved the organization URL and recovery information in the appropriate places.
Invite a second trusted business representative with their own login as an Owner when possible. GitHub recommends at least two owners to preserve access if one is unavailable.
Official instructions: Maintain organization ownership continuity.
What if an invitation or permission is missing?
GitHub invitations expire after seven days. Check People for pending or failed invitations and retry if needed. If your collaborator can join but cannot see the code, check the repository and team permissions. Paid per-user plans may need an available seat.
If you invite by email, use an address verified on the intended GitHub account. Inviting the confirmed username usually avoids that mismatch.
What should you do next?
Save the workspace name, your sign-in method, the business owner, and the billing contact in an account register. Store passwords and recovery codes in your password manager. If someone is helping you, write down which changes you want to handle yourself and which ones you want them to manage.
What does this setup leave for later?
This creates the ownership and collaboration structure. It does not deploy a website, move existing code, configure automated releases, or set repository protection rules. Those tasks depend on your project and may require paid features. Before removing a developer later, arrange the handoff of deployment integrations and credentials as well as repository access. Keep the organization and its repositories in place throughout that handoff.
Common questions
- Do I need to know how to code?
- No. You can create the business workspace, protect your login, and manage access without writing code. A developer can help when you are ready to start a project.
- Should I send a developer my password?
- No. Invite the agreed individual accounts. Your password, authentication codes, and recovery codes stay private; each team member signs in separately.
- What if my code is already in a developer’s account?
- Ask for a repository transfer into your business organization. Confirm connected hosting and release workflows during the transfer so the live project keeps working.
Keep going
More you can build yourself
Your code has a home. Next, look at the account that connects your website to its address.
Continue to Cloudflare