You can export and review the metadata that GitHub stores about your personal account.

GitHub stores repository and profile metadata from your personal account's activity. You can export your personal account's data through settings on GitHub.com or with the User Migration API.

For more information about the data GitHub stores that is available for exporting, see "Download a user migration archive" in the GitHub Developer documentation and "About GitHub's use of your data.

When you request an export of your personal data through settings on GitHub.com, GitHub packages your personal data in a tar.gz file and sends you an email to your primary email address with a download link.

By default, the download link expires after seven days. At any time before the download link expires, you can disable the link from your user settings. For more information, see "Deleting access to an archive of your personal account's data."

If your operating system cannot natively unpack the tar.gz file, you can use a third-party tool to extract the archived files. For more information, see "How to unzip a tar.gz file" on Opensource.com.

The generated tar.gz file reflects the data stored at the time you started the data export.

Downloading an archive of your personal account's data

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the left sidebar, click Account settings. Account settings menu option

  3. Under "Export account data", click Start export or New export. Start personal data export button highlighted New personal data export button highlighted

  4. Once the export is ready to download, GitHub will send you a download link to your primary email address.
  5. Click the download link in your email and re-enter your password if prompted.
  6. You'll be redirected to a tar.gz file that you can download.

Deleting access to an archive of your personal account's data

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the left sidebar, click Account settings. Account settings menu option

  3. To disable the download link sent to your email before it expires, under "Export account data", find the data export download you want to disable and click Delete. Delete personal data export package button highlighted