When you remove a collaborator from your project, they lose read/write access to your repository. If the repository is private and the person has created a fork, then that fork is also deleted.

Deleting forks of private repositories

While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.

Removing collaborator permissions from a person contributing to a repository

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Repository settings button
    Under your repository name, click Settings.

  3. Collaborators tab
    In the left sidebar, click Collaborators & teams.

  4. Remove link
    Next to the collaborator you want to remove, click the X icon.

Further reading