/github-for-non-tech

How to remove a collaborator from a GitHub repo?

Learn how to remove a collaborator from your GitHub repo with our step-by-step guide, featuring instructions for both web UI and GitHub CLI.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.

Book a free No-Code consultation

How to remove a collaborator from a GitHub repo?

 

Step 1: Navigate to GitHub and sign in

 

  • Open your web browser and go to https://github.com.
  • Click Sign in (top right) and enter your GitHub username/email and password.
  • After signing in, confirm you see your avatar in the top-right corner.

 

Step 2: Open your repository

 

  • Click your avatar (top right) and select Your repositories.
  • From the list, click the repository from which you want to remove a collaborator.
  • You should now be on the main page of that repository.

 

Step 3: Go to the repository Settings

 

  • On the repository page, locate the tab bar near the top.
  • Click the Settings tab (usually the last tab).

 

Step 4: Access the Manage access section

 

  • In the left sidebar, click Manage access.
  • GitHub may prompt you to re-authenticate for security. Click Confirm password or complete the authentication flow.

 

Step 5: Find the collaborator you want to remove

 

  • Under Manage access, you’ll see a list of users and teams with access to this repository.
  • Scroll through or use the search field to locate the collaborator’s username.

 

Step 6: Remove the collaborator via the web interface

 

  • Next to the collaborator’s name, click the gear icon (⚙️).
  • In the dropdown, click Remove access.

 

Step 7: Confirm the removal

 

  • A confirmation dialog appears: “Remove this collaborator from the repository?”
  • Click the Remove from repository button to confirm.

 

Step 8: Verify that the collaborator has been removed

 

  • After confirmation, you should no longer see the user listed under Manage access.
  • The removed collaborator will lose access immediately and receive a notification email.

 

Step 9: (Optional) Remove a collaborator using GitHub CLI

 

  • Ensure you have the GitHub CLI installed and are authenticated (gh auth login).
  • Run the following command, replacing OWNER/REPO and USERNAME:
gh repo remove-collaborator OWNER/REPO USERNAME
  • If prompted, confirm the operation by typing Y and pressing Enter.

 

Step 10: Final confirmation

 

  • Return to the repository’s Manage access page (web UI) to ensure the collaborator is gone.
  • Your repository’s access list now reflects only the remaining collaborators and teams.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022