5 Git Commands Keep My AI Context in Sync Across Machines A developer built zemo, a small Zig CLI that stores AI coding context as plain Markdown in a git repository and syncs it across machines using five git commands (pull, add, diff, commit, push). The tool replaces duplicated fish and PowerShell shell functions with a single runtime-free binary, adding read-only cat and dump commands so notes can be piped directly into AI CLIs such as Claude Code. Its design focuses on explicit failure handling so a failed sync never leaves an AI tool fed with stale context. I keep the context I hand to AI coding tools as plain Markdown in a git repository, and a small Zig CLI called zemo syncs it between my machines. The happy path was easy: once zemo has checked that the directory is a repository root, a successful edit runs five git commands, pull, add, diff, commit and push. The real design work was deciding what zemo should say when one of them fails halfway, because a sync that fails quietly leaves you feeding the AI stale context. An AI coding tool knows nothing about my project until I tell it. With zemo, telling it is one pipe: zemo dump |