The backup consists of the complete git repository, including all branches, plus GitHub-related metadata associated with the repository, such as issues, milestones and so on.

We include most data available via the GitHub API associated with the repository. This currently includes:

Git Repository

  • refs
  • branches
  • commits
  • tags
  • objects
  • logs

Commit comments

  • comment text
  • creation date
  • creator
  • status open/closed

Releases *

Projects

  • project columns
  • project cards

Labels

Milestones

  • status open/closed
  • description
  • due date
  • associated issues

Issues *

  • description
  • creation date
  • creator
  • status open/closed
  • comments (without reactions)
  • assignee
  • assigned labels
  • assigned milestones

Pull Requests *

  • description
  • creation date
  • creator
  • status open/closed
  • review comments (without reactions)
  • assignee
  • assigned labels
  • assigned milestones

Pull requests are included in the backup, but can only be restored as issues due to limitations of the GitHub API.

Wiki

Wikis are included in the backup but cannot be automatically restored due to limitations of the GitHub API. Learn how to restore a wiki here.

 * Note: When you include an image or another attachment such as ZIP-Files, the file is uploaded to GitHub’s CDN and then referenced by the URL in the issue or comment. The URL for the attachment is included in the backup, but the file itself is fetched from GitHub’s CDN.

Did this answer your question?