git-sync
« Back to VersTracker
Description:
Clones a git repository and keeps it synchronized with the upstream
Type: Formula  |  Latest Version: 4.5.0@0  |  Tracked Since: Dec 18, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: kubernetes git synchronization devops sidecar
Install: brew install git-sync
About:
git-sync is a utility that periodically synchronizes a git repository to a local directory. It handles cloning, fetching updates, and checking out specific revisions, tags, or submodules. Its primary value is providing a reliable sidecar container for Kubernetes workloads that need access to dynamic configuration or code.
Key Features:
  • Periodic synchronization with configurable polling interval
  • Support for git submodules, shallow clones, and sparse checkouts
  • Container-native design, ideal for Kubernetes sidecar patterns
  • Robust error handling and logging for automated environments
Use Cases:
  • Synchronizing configuration files for applications running in Kubernetes
  • Deploying website content or documentation to a cluster
  • Managing shared scripts or assets across a fleet of servers
Alternatives:
  • k8s-configmap-watcher – git-sync pulls from a git remote, whereas configmap watchers typically react to cluster resource changes.
  • rsync – rsync copies files between hosts, but lacks native git history awareness, version control features, or automated polling.
Version History
Detected Version Rev Change Commit
Dec 18, 2025 8:05pm 4.5.0 0 VERSION_BUMP aba12cb4
Oct 9, 2025 5:00pm 0 VERSION_BUMP 72dbd795
Sep 13, 2025 6:42am 0 VERSION_BUMP 0c60cd50
Sep 12, 2025 8:58am 0 VERSION_BUMP 86cf0c48