Examples
Worked examples
- Is an instance
The Linux kernel's official GitHub mirror, tracking kernel.org's git tree.
- Is an instance
An institutional repository mirroring its internal GitLab projects to GitHub for community engagement.
Counter-examples
Looks similar, but isn't
- Not an instance
A fork created independently with no automated sync from upstream is not a mirror.
- Not an instance
A clone on a developer's laptop is not a mirror.
Editorial commentary
GitHub-mirror arrangements are common where a project’s canonical repository lives on a self-hosted Git server, GitLab instance, or institutional Gerrit installation, but a public mirror on GitHub is maintained for ease of discovery, issue-tracking by external contributors, or CI integrations. Pushes flow from upstream to mirror via scheduled jobs or webhooks. For long-term preservation, the upstream is the canonical artefact; the GitHub mirror is a working convenience.
References
- GitHub documentation, ‘About repository mirroring’ (docs.github.com).
Frequently Asked Questions
What is a GitHub mirror?
A GitHub mirror is a copy of a repository hosted on GitHub while the canonical, authoritative copy of the project lives elsewhere — for example on a self-hosted Git server, a GitLab instance, or an institutional Gerrit installation.
Is a GitHub mirror the official version of a project?
No. For long-term preservation the upstream repository is treated as the canonical artefact, and the GitHub mirror is a working convenience — useful for visibility and integration, but not the authoritative source.
How does a GitHub mirror stay updated with the source repository?
Changes are pushed from the upstream repository to the GitHub mirror through scheduled jobs or webhooks, rather than being edited directly on GitHub.
Why do projects maintain a GitHub mirror instead of just using GitHub as the primary repository?
Common reasons include making the project easier to discover, letting external contributors file issues, and integrating with CI systems that expect a GitHub-hosted repository, while keeping the canonical codebase on infrastructure the maintainers control.
Can I report issues or contribute through a project’s GitHub mirror?
Often yes — issue-tracking for external contributors is one of the common reasons projects maintain a GitHub mirror in the first place, though whether contributions such as pull requests are accepted directly through the mirror varies by project.
Also known as
GitHub read-only mirror
Machine-readable encodings
Use in your systems
<role vocab="credit"
vocab-identifier="https://casrai.org/dictionary/"
vocab-term="GitHub mirror"
vocab-term-identifier="https://casrai.org/dictionary/term/github-mirror" />{
"@context": "https://schema.org",
"@type": "DefinedTerm",
"@id": "https://casrai.org/dictionary/term/github-mirror",
"name": "GitHub mirror",
"identifier": "https://casrai.org/dictionary/term/github-mirror",
"description": "A copy of a Git repository (or set of repositories) hosted on GitHub that tracks an upstream source repository elsewhere, typically maintained for redundancy, visibility, or community-engagement reasons rather than as the canonical primary copy.",
"inDefinedTermSet": "https://casrai.org/dictionary/domain/data-infrastructure#set",
"url": "https://casrai.org/dictionary/term/github-mirror",
"sameAs": [
"GitHub read-only mirror"
],
"license": "https://creativecommons.org/licenses/by/4.0/",
"publisher": {
"@id": "https://casrai.org/#organization"
},
"dateModified": "2026-08-15T05:20:04",
"inLanguage": "en"
}






