/github-for-non-tech

How to check who has access to a repository?

Discover how to check who has access to your GitHub repository through settings, GitHub CLI, REST API, and organization team methods.

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 check who has access to a repository?

 

Step 1: Navigate to Your GitHub Repository

 

Go to github.com and sign in. In the top-right corner, click your profile icon and select Your repositories. Then click the repository you want to inspect.

 

Step 2: Open the Settings Tab

 

In the repository page, find the tabs bar below the repo name and click Settings.

 

Step 3: Access the “Manage access” Section

 

Scroll down the left sidebar and click Manage access. You may be prompted to re-enter your password for security.

 

Step 4: View Collaborators and Teams

 

On the Manage access page, you’ll see a list of all users and teams with access. Each entry shows the username or team name, their role (Admin, Write, Read), and any pending invitations.

 

Step 5: Use GitHub CLI to List Collaborators

 

If you prefer command-line tools, install and authenticate the GitHub CLI (gh). Then run:


gh auth login
gh repo view OWNER/REPO --json collaborators --jq ".collaborators[] | {login, permission}"

Replace OWNER/REPO with your repository’s identifier. You’ll get a JSON list of collaborators and their permissions.

 

Step 6: Use the GitHub REST API

 

You can also query the GitHub API directly. First, generate a personal access token with the repo scope. Then run:


curl -H "Authorization: token YOUR\_TOKEN" \\
  https://api.github.com/repos/OWNER/REPO/collaborators

This returns an array of users who have access. For each user, you can further request:


curl -H "Authorization: token YOUR\_TOKEN" \\
  https://api.github.com/repos/OWNER/REPO/collaborators/USERNAME/permission

Replace USERNAME to see that user’s permission level.

 

Step 7: Check Organization Team Access

 

If your repo belongs to an organization, team permissions may grant access. To view teams:

  • Go to the organization’s main page.
  • Click Teams in the sidebar.
  • Select any team to see its repositories.

Teams listed with your repository name have access, and clicking the team shows its members.

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