If you no longer want to be a collaborator on someone else's repository, you can remove yourself.

  1. Settings icon in the user bar
    In the upper-right corner of any page, click your profile photo, then click Settings.
  2. Repositories tab
    In the left sidebar, click Repositories.
  3. Leave button
    Next to the repository you want to leave, click Leave.
  4. Dialog box warning you to leave
    Read the warning carefully and then click "I understand, leave this repository"