How to Add Collaborators on GitHub

How to Add Collaborators on GitHub

If you’re wondering how to add collaborators on GitHub, you’ve come to the right place. Coding doesn’t have to be a solitary activity. Contrary to what your average coder might tell you, sometimes inviting your friends to join the fun makes things even better.

This is especially true if you’re working on an open-source project, or you just want another set of eyes on your code. So, let’s get into how to add collaborators on GitHub.

Navigate to the repo where you want to add collaborators

The first thing you need to do is locate the Git repository that you would like to share with someone. Pick out your repository and navigate to the overview page. 

Then, look for the settings. It will be in the upper right of the repo page.

Then look for collaborators on the left

You can do all sorts of things in settings: change your repository name, change the default branch, and much more. We’re not worried about that right now. Instead, turn your attention to the left sidebar, and look for collaborators.

Click this, then you will be presented with the following screen.

Hit the green button that says Add people. Now comes the fun part.

Find your collaborators

You will have to know their username on GitHub. But as long as you have that information, you can just type it in, and they should show up. It will look something like this. If I wanted to add “my dude,” I would just type that in. Unfortunately, I don’t really know anyone by that name on GitHub.

Another green button tap and you’re in

Once you find the user you’re looking for, just hit the green button, and they will get a notification to join your project. And that’s it! You’ve successfully added a collaborator.

add-your-collaborator

What if you change your mind?

The good news is, they won’t be added right away. They will have to accept your invite. Since I don’t actually know Dude_my_dude, I want to remove access.

To do this, just hit the checkbox next to their name. Then hit the drop-down menu right above the name, and select Remove Access.

Final Thoughts

Hopefully, this quick tutorial solved your question about how to add collaborators on GitHub. Once you start cooking up a project together, there’s no telling how much fun you can have. Happy coding!