|
| 1 | +--- |
| 2 | +title: Prepare for job change |
| 3 | +intro: If you use your {% data variables.product.github %} account for both personal and work purposes, there are steps to follow when you leave your company or organization. |
| 4 | +redirect_from: |
| 5 | + - /articles/best-practices-for-leaving-your-company |
| 6 | + - /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company |
| 7 | + - /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company |
| 8 | + - /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company |
| 9 | + - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/best-practices-for-leaving-your-company |
| 10 | + - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company |
| 11 | + - /account-and-profile/reference/best-practices-for-leaving-your-company |
| 12 | +versions: |
| 13 | + fpt: '*' |
| 14 | + ghec: '*' |
| 15 | +topics: |
| 16 | + - Accounts |
| 17 | +shortTitle: Prepare for job change |
| 18 | +contentType: how-tos |
| 19 | +--- |
| 20 | + |
| 21 | +## Update your personal account information |
| 22 | + |
| 23 | +1. Unverify your company email address by deleting it in your Email settings. |
| 24 | + |
| 25 | + After removal, you can re-add this email without verifying to keep any associated commits linked to your account. |
| 26 | + |
| 27 | + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/changing-your-primary-email-address). |
| 28 | + |
| 29 | +1. Change your primary email address from your company email to your personal email. |
| 30 | + |
| 31 | + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/changing-your-primary-email-address). |
| 32 | + |
| 33 | +1. Verify your new primary email address. |
| 34 | + |
| 35 | + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/verifying-your-email-address). |
| 36 | + |
| 37 | +1. Update your {% data variables.product.github %} username if it contains references to your company or organization. |
| 38 | + |
| 39 | + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username). |
| 40 | + |
| 41 | +1. Review and update your two-factor authentication (2FA) methods to ensure they aren't linked to company resources: |
| 42 | + |
| 43 | + * If you use a TOTP app on a company phone, transfer it to your personal device. |
| 44 | + * If you've registered company-owned security keys, remove them and add personal ones instead. |
| 45 | + * If you're using {% data variables.product.prodname_mobile %} on a company device, install it on your personal device. |
| 46 | + * Download fresh recovery codes and store them in a personal secure location. |
| 47 | + |
| 48 | + For more information, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication). |
| 49 | + |
| 50 | +## Leave organization memberships |
| 51 | + |
| 52 | +> [!NOTE] Unless you're using a {% data variables.enterprise.prodname_managed_user %}, you'll still be able to access your personal account after leaving an organization. |
| 53 | +
|
| 54 | +1. If you're the organization owner, transfer ownership to another person before removing yourself. |
| 55 | + |
| 56 | + For more information, see [AUTOTITLE](/organizations/managing-organization-settings/transferring-organization-ownership). |
| 57 | + |
| 58 | +1. Remove yourself from the organization. |
| 59 | + |
| 60 | + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/removing-yourself-from-an-organization). |
| 61 | + |
| 62 | +## Clean up professional repository associations |
| 63 | + |
| 64 | +1. Remove yourself as a collaborator from repositories owned by others. |
| 65 | + |
| 66 | + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository). |
| 67 | + |
| 68 | +1. Stop watching work-related repositories to avoid unnecessary notifications. |
| 69 | + |
| 70 | + To manage your watched repositories, visit https://github.com/watching. |
| 71 | + |
| 72 | +1. Transfer repositories that you own that others may need to continue working on. |
| 73 | + |
| 74 | + For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/transferring-a-repository). |
| 75 | + |
| 76 | +1. Delete any work-related forks that belong to you. |
| 77 | + |
| 78 | + Deleting a fork doesn't delete the upstream repository. |
| 79 | + |
| 80 | + For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/deleting-a-repository). |
| 81 | + |
| 82 | +1. Delete local copies of your work repositories from your computer by running the following command: |
| 83 | + |
| 84 | + ```shell |
| 85 | + rm -rf WORK_DIRECTORY |
| 86 | + ``` |
| 87 | + |
| 88 | + Replace `WORK_DIRECTORY` with the path to your work repository. |
0 commit comments