Backup Your Data
- Before deleting your GitHub account, ensure that you have backed up all repositories you want to keep. You can clone repositories locally using Git commands.
- Navigate to each repository you want to back up, then copy the clone URL.
- Use the command
git clone [URL]
in your terminal to clone the repositories to your computer.
Sign Into Your GitHub Account
- Go to the GitHub website and log in with your credentials.
- Make sure that you have access to the primary account and not just a collaborator on someone else’s account.
Access Account Settings
- Once logged in, click on your profile picture in the upper-right corner of the page to reveal a dropdown menu.
- Select "Settings" from the dropdown menu to navigate to your account settings page.
Navigate to Account Deletion
- On the left-hand side menu, find and click on "Account" under the "Access" section.
- Scroll down to the "Danger Zone" at the bottom of the account settings page.
- Click the "Delete your account" button to proceed.
Review and Confirm Account Deletion
- You will be redirected to a page with account deletion warnings. Carefully read through them to understand the implications.
- You'll be prompted to fill in certain details such as your GitHub username for confirmation.
- Once you've filled in the necessary details, click on the "Delete account" button to finalize the process.
- Be aware that this action is irreversible, and all your data will be permanently removed.