Glyph is canonical. Git and GitHub are compatibility targets. Git users should read this page as a translation layer, not as a promise that every Git concept survives unchanged. Glyph keeps compatibility at the boundary while using source graph primitives internally. The public mirror for this project is Illusion47586/glyph. It is the exported public realm, so GitHub users see ordinary files, commits, releases, and Actions runs while Glyph keeps the richer local model.

Mapping

GitGlyph
commitpublication event, checkpoint, snapshot, or imported provenance
branchwork context, realm, or remote tracking view
HEADcurrent realm projection pointer or exported Git branch tip
working treematerialized workspace projection
indexinternal implementation detail
merge commitpublication integrating multiple work contexts
tagnamed source graph reference or release marker
remoteGlyph remote origin

Branches Become Work Contexts Or Realms

In Git, a branch is often used for two different jobs: isolating active work and naming a shared line of history. Glyph splits those jobs:
  • a work context isolates active work
  • a realm names a permissioned source view
That means a feature branch becomes a work context, while a long-lived public or maintainer branch usually becomes a realm.

Commits Become Snapshots, Checkpoints, Or Publications

Git commits are overloaded. They can mean “I saved progress”, “this is ready for review”, “this is public”, or “CI needed a point in history.” Glyph separates those meanings:
  • snapshot: captured source state
  • checkpoint: explicit milestone inside work
  • publication: intentional movement into a realm
Export can turn a publication into a Git commit so GitHub still sees normal Git history.

Export

The current prototype exports the public realm to a clean Git repository and can push that export to GitHub.
glyph export git --realm public --out /tmp/glyph-export --json
glyph remote sync origin --json
Generated .gitignore and .gitinclude files come from glyph.yaml defaults.

GitHub Is Infrastructure

When Glyph pushes to GitHub, it is publishing a compatibility projection. The canonical source graph remains local in .glyph/ for prototype 0. This lets a project use GitHub for visibility, hosting, CI, and releases while still using a source-control model designed for agents. Git’s weak spot here is not that it lacks power. It is that power comes from conventions layered on top: branch naming, commit discipline, protected branches, PR rules, and CI rituals. Glyph keeps the useful boundary output, then gives the inner workflow explicit concepts for work, visibility, and publication.