Changing jobs is a fact of life. If you use your GitHub user account for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization.

Before you leave your company, make sure you update the following information in your user account:

Leaving organizations

If you've been working with repositories that belong to an organization, you'll want to remove yourself as a member of the organization. Note that if you are the organization owner, you should first transfer ownership of the organization to another person.

Removing professional associations with personal repositories

If you've been collaborating professionally with another person on repositories that belong to their personal user account, you'll want to remove yourself as a collaborator from those repositories.

rm -rf work_directory