Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Git Tutorial
  • Git Exercises
  • Git Basic Commands
  • Git Cheat Sheet
  • Git Interview Questions
  • Git Bash
  • GitHub
  • Git Branch
  • Git Merge
  • Git WorkFlow
  • Git Hooks
  • Git LFS
  • Git Rebase
  • Git Cherry Pick
Open In App
Next Article:
What are GitHub Collaborators?
Next article icon

What are GitHub Collaborators?

Last Updated : 11 Dec, 2020
Comments
Improve
Suggest changes
Like Article
Like
Report

In GitHub, we can invite other GitHub users to become collaborators to our private repositories(which expires after 7 days if not accepted, restoring any unclaimed licenses). Being a collaborator, of a personal repository you can pull (read) the contents of the repository and push (write) changes to the repository. You can add unlimited collaborators on public and private repositories(with some per day limit restrictions). But, in a private repository, the owner of the repo can only grant write-access to the collaborators, and they can't have the read-only access.

GitHub also restricts the number of collaborators we can invite within a period of 24 hours. If we exceed the limit, then either we have to wait for 24-hours or we can also create an organization to collaborate with more people.

Actions that can be Performed By Collaborators

Collaborators can perform a number of actions into someone else's personal repositories, they have gained access to. Some of them are, 

  • Create, merge, and close pull requests in the repository
  • Publish, view, install the packages
  • Fork the repositories
  • Make the changes on the repositories as suggested by the Pull requests.
  • Mark issues or pull requests as duplicate
  • Create, edit, and delete any comments on commits, pull requests, and issues in the repository
  • Removing themselves as collaborators on the repositories.
  • Manage releases in the repositories.

Now, let's see how can we invite collaborators to our repositories.

Inviting Collaborators to your personal repositories

Follow the steps below to invite collaborators to your own repository(public or private).

Step 1: Get the usernames of the GitHub users you will be adding as collaborators. In case, they are not on GitHub, ask them to sign in to GitHub (refer Sign up).

Step 2: Go to your repository( intended to add collaborators)

Step 3: Click into the Settings.

Step 4: A settings page will appear. Here, into the left-sidebar click into the Manage Access

Step 5: Then a confirm password page may appear, enter your password for the confirmation.

Step 6: Next, click into Invite a collaborator.

Step 7: Then a search field will appear, where you can enter the username of the ones you want to add as collaborator.

Step 8: After selecting the people, add them as collaborator.

Step 9: We are done adding a single collaborator. Now, they will get a mail regarding invitation to your repository. Once they accept, they will have collaborator access to your repository. Till then it will be in pending invitation state. You can also add more collaborator and delete the existing one as depicted below.

Removing collaborator permissions from a person contributing to a repository

Similar to the above steps, go to Your Repository -> Settings -> Manage Access -> Delete icon (on the right side of collaborator username)

Removing yourself from a collaborator's repository

In case you don't want to be a collaborator to someone else's repository then you can remove yourself from being a collaborator. To do this, follow the below steps:

Step 1: Into the top right corners, click into your profile picture and then the settings.

Step 2: Then into the left-side bar click into the Repositories.

Step 3: Click leave to the repository you want to leave.

Step 4: A warning box will appear, read that and then click "I understand, leave this repository."

And you are done leaving this repository! 


Next Article
What are GitHub Collaborators?

D

deepapandey364
Improve
Article Tags :
  • Git
  • GitHub

Similar Reads

    What is Collaboration in Git?
    When multiple developers are working on the same project, Git collaboration plays an important role in providing easy coordination and efficient code management. Developers can work on different aspects of the codebase simultaneously without interfering with one another's progress. In this article,
    5 min read
    What Is GitHub Gist?
    GitHub offers a feature called GitHub Gist that makes it simple for users to share text-based content, notes, and code snippets. It provides a simple, lightweight method for managing and sharing small content pieces, like scripts, configuration files, and even documentation.In this article, we will
    4 min read
    GitHub Copilot: Introduction, Features, Use Cases
    GitHub Copilot is an AI-powered code assistant developed by GitHub in collaboration with OpenAI. In this article, we’ll explore how to get started with GitHub Copilot, set it up in your environment, and see most of its features to enhance your coding workflow.Table of ContentKey Features of GitHub C
    6 min read
    How GitHub Revolutionized Open Source Collaboration?
    GitHub, launched in 2008, has fundamentally transformed the open-source collaboration. By combining the power of Git, the distributed version control system, with a web-based platform that offers robust collaboration tools, GitHub has become the world’s largest code hosting platform and a central hu
    6 min read
    Git Workflows With Open Source Collaboration
    Open source is a space where people can modify and design something that is publiclycaly accessible to everyone. Software or codebases that are open source facilitate collaboration and innovation, which is not just limited to a team, but the whole public. GitHub is a platform that houses a wide rang
    10 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences