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 this 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?