GitHub tutorial
How to add a collaborator on GitHub
This whole video was made by AI.
Make your own at sayscreen.com
$1 for 7 days, then $49/month
- 2:17 video
- 9 steps
- Last verified November 25, 2026
A private GitHub repository is seen only by you and the people you invite as collaborators. This tutorial creates a private repository, then opens its Settings, Collaborators and Add people, where you search by username, full name or email. The sample name it searches for has no GitHub account, so no invitation goes out on camera; with a real person, Add to repository emails them an invitation.
Steps
- Click + at the top of any GitHub pageIt opens the Create new menu.
- Click New repository
- Name the repositoryA green check shows the name is available (acme-marketing-site-2 here).
- Set Choose visibility to PrivateIt is under Configuration and starts on Public.
- Click Create repositoryA README, .gitignore and license are optional and stay off here. The new repository shows a Private label next to its name.
- Open the repository's Settings tabThis new repository's page also has an Invite collaborators button.
- Click Collaborators under AccessDirect access shows who can get in: 0 collaborators on a new repository.
- Click Add people
- Search for the person, select them and click Add to repositorySearch by username, full name or email. GitHub emails them an invitation, and once they accept they have collaborator access. The sample name here has no account, so nothing is sent.
Transcript
0:00In this video, you'll create a new private repository on GitHub and invite a collaborator, so only the people you choose can see and work on it.
0:10Start from the plus button at the top of any GitHub page, which opens the Create new menu.
0:17Choose New repository to open the setup form.
0:21Give the repository a name: acme-marketing-site-2.
0:28The green check confirms the name is available. Under Configuration, open the visibility menu, which is set to Public by default. Pick Private. Now only you, and the people you choose, can see and commit to this repository.
0:46The other options, like a README or license, are optional, so we'll leave them as they are. Click Create repository and GitHub sets up your new private repo. Your new repository is ready, and the Private label next to its name shows it's hidden from everyone else.
1:05To share it, open the repository's Settings tab.
1:09In the sidebar, under Access, choose Collaborators. This is where you control who can get into the repository. Direct access shows zero collaborators, so right now only you can see and contribute to this repository.
1:26To invite someone, click Add people.
1:30Search by username, full name, or email. We'll look up jane-example. Because jane-example is only a sample name, GitHub can't find a matching account. With a real teammate's username, their profile would appear here for you to select. Once someone is selected, Add to repository sends them an invitation by email. After they accept, they can view and push to your private repo. That's how you create a private repository and invite collaborators from its settings, so only the people you choose can work on it.
GitHub is a trademark of its owner. SayScreen isn't affiliated with, sponsored or endorsed by GitHub; this video shows the public app as it looked when it was recorded, and we last checked the steps on November 25, 2026. If GitHub has changed since, tell us at hey@sayscreen.com. GitHub's own guide: docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/inviting-collaborators-to-a-personal-repository.


