You can invite users to become collaborators to your personal repository.
Repositories owned by an organization can grant more granular access. For more information, see "Access permissions on GitHub."
Note: GitHub limits the number of people who can be added to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization.
- Ask for the username of the person you're inviting as a collaborator. If they don't have a username yet, they can sign up for GitHub.
On GitHub, navigate to the main page of the repository.
Under your repository name, click Settings.
In the left sidebar, click Collaborators.
- Under "Collaborators", start typing the collaborator's username.
- Select the collaborator's username from the drop-down menu.
Click Add collaborator.
The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository.