A collaborator is someone you invite to work on your GitHub repository. They get write (push) access and can help with code, issues, pull requests, and more.
✅ Requirements
- You must own the repository or be an admin of the organization/repo.
- The repository must be private or public with restricted access.
🧭 Steps to Add a Collaborator
1. Log in to GitHub
Go to https://github.com and sign in to your account.
2. Navigate to Your Repository
- Click on your profile > Your repositories
- Select the repository where you want to add a collaborator
3. Go to Settings
- On the repo page, click the Settings tab (top right of the repo navigation)
4. Click “Collaborators”
- In the sidebar, under the “Access” section, click “Collaborators” (or “Manage access” if in an organization)
5. Invite a Collaborator
- Click the “Add people” button
- Enter the GitHub username or email address of the person you want to invite
- Choose the correct role (typically Write access)
- Click “Add” or “Invite”
6. ✅ Collaborator Accepts the Invitation
The invited user will receive an email or notification on GitHub. They must accept the invitation before they gain access.
👮 Access Levels
Role | Permissions |
---|---|
Read | View and clone the repository |
Write | Push code, manage issues, pull requests |
Admin | Full control, including settings and users |
Maintainer (Teams only) | Manage team members and settings |
📋 Summary
Step | Action |
---|---|
Go to repo settings | Click on “Settings” tab |
Select “Collaborators” | Under “Access” or “Manage access” |
Add GitHub username/email | Send invite with proper permissions |
User accepts the invite | Gains access to collaborate |