Metadata images and other attachments are referenced by issue or comment URLs.
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, while the file itself is fetched from GitHub’s CDN.