Skip to main content
v2026.1714 entries · CC-BY 4.0
CASRAI
Dictionary termTrack BStablev2026.2

GitHub mirror

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.

ByCASRAI Editorial Board
· Last updated 21 May 2026

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

  • G
  • i
  • t
  • H
  • u
  • b
  • d
  • o
  • c
  • u
  • m
  • e
  • n
  • t
  • a
  • t
  • i
  • o
  • n
  • ,
  • A
  • b
  • o
  • u
  • t
  • r
  • e
  • p
  • o
  • s
  • i
  • t
  • o
  • r
  • y
  • m
  • i
  • r
  • r
  • o
  • r
  • i
  • n
  • g
  • (
  • d
  • o
  • c
  • s
  • .
  • g
  • i
  • t
  • h
  • u
  • b
  • .
  • c
  • o
  • m
  • )
  • .

Also known as

GitHub read-only mirror

Machine-readable encodings

Use in your systems

JATS XML <role> element
xml
<role vocab="credit"
      vocab-identifier="https://casrai.org/dictionary/"
      vocab-term="GitHub mirror"
      vocab-term-identifier="https://casrai.org/dictionary/term/github-mirror" />
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "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/research-data-infrastructure/",
  "url": "https://casrai.org/dictionary/term/github-mirror",
  "sameAs": [
    "GitHub read-only mirror"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}
LAC

Partner Deal

LAC Health Supplies Mobile App

Referenced across the research world

University of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoCrossref logoUniversity of Cambridge logoColumbia University logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoCrossref logo
  • University of Cambridge logo
  • Columbia University logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo
  • Crossref logo

View CASRAI adoption →