Managing Repository Access

Repository Visibility

As mentioned in the Creating GitHub Repositories section, you can determine which users can see your repositories. If you set repository visibility to ā€œPublicā€ then anyone on the internet can read and download your repository. If you set repository visibility to ā€œPrivateā€, then only users or organizations you explicitly invite can read and download your repository. To change visibility of your repository:

  1. Click ā€œsettingsā€ on your repository’s GitHub page

  2. Click "Options" from the sidebar

  3. Scroll down to "Danger Zone" section

  4. Click "Change Visibility"

Changing the visibility of your repository can affect your repository’s forks and must be done with caution (see thisarrow-up-right article for more details).

Collaborators

You can explicitly invite users to commit changes to your repository through adding collaborators:

  1. On the repository page navigate to ā€œsettingsā€

  2. Click ā€œManage accessā€

  3. Click ā€œinvite collaboratorsā€ and type in the user name of the users you want to add.

Last updated

Was this helpful?