Git-sync

Git-sync is a lightweight tool that automatically mirrors a Git repository into a local directory and keeps it up to date.

  • Cloud
  • Development
Git-sync is a lightweight tool that automatically mirrors a Git repository into a local directory and keeps it up to date. It watches the remote for changes and re-pulls on a regular interval (or just once), tracking the HEAD of a branch, a tag, or a specific commit. Its minimal footprint makes it a popular sidecar container in Kubernetes, letting applications consume files pulled straight from a repository.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

72/100 Good

Maintained
98last commit 19 days ago
Popular
692,748 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
71no serious findings, 6 minor, CI, tests, OpenSSF Scorecard 7.2/10

Based on 4 of 5 factors.

GitHub stars
2,748
Open issues
10
Last commit
2026-11-02
Latest release
v4.8.0
License
Apache-2.0
Activity
stale

Checked 4 days ago - source: GitHub (kubernetes/git-sync)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Running in Docker The git-sync Docker image is minimal and runs as a non-root user by default. Run it with the Git repository URL and the local directory to write to; it can pull once or on a regular interval, tracking a branch HEAD, a tag, or a specific commit hash. source

Fetched 41 days ago - each note links to its source

Alternatives (6)

  • Bazaar - Bazaar is a tool for helping people collaborate.
  • Fossil - Fossil is a simple, high-reliability distributed source-control (SCM) system that pairs version control with a built-in web interface, bug…
  • Git - Git is a fast, scalable, distributed version control system for tracking changes to files and coordinating work across teams.
  • Plastic SCM - Plastic SCM is a commercial SCM system developed by Codice Software.
  • lore-webgui - Open source version control system offering scalable data and team workflows, optimized for code and large binaries, with tamper-evident hi…
  • subversion - Subversion (SVN) is an open-source, centralized version control system that records every change to files with a full, timestamped revision…

Checked 40 days ago - source: AlternativeTo

Common questions

How should an application safely consume the synced files while git-sync is updating?

Use the symlink named by --link, not the --root working directory, because git-sync publishes each sync through a worktree and a named symlink. This gives consumers an atomic view of the repository.

Which repository targets can git-sync keep synchronized?

It can pull from the HEAD of a branch, a git tag, or a specific git hash. It re-pulls only when the referenced target has changed upstream.

Can git-sync trigger a webhook or command after a successful sync?

Yes, it can be configured to make a webhook call or exec a command after successful synchronization. The call happens after the symlink is updated.

What remote transports and authentication options does git-sync support?

It can pull over HTTP(S), with authentication or not, or over SSH.

How can I limit git-sync’s disk and network usage?

It tries to transfer as little data as possible and use as little disk space as possible using --depth and --git-gc. This behavior is not part of the consumer contract.

Answers sourced from github.com

Community

Collected 48 days ago - public community threads