Command-line tool
git-sync
brew/git-sync
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Clones a git repository and keeps it synchronized with the upstream
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install git-sync
Linux
brew install git-sync
Sync the current local branch with its remote branch
git sync
Sync the current local branch with the remote main branch
git sync origin main
Sync without cleaning untracked files
git sync -s remote_name branch_name
Related command-line tools
- ghq
Remote repository management made easy git - git-svn
Bidirectional operation between a Subversion repository and Git - unison
File synchronization tool file-syncing - all-repos
Clone all your repositories and apply sweeping changes - ghorg
Quickly clone an entire org's or user's repositories into one directory - try-rs
Temporary workspace manager for fast experimentation in the terminal - git-get
Better way to clone, organize and manage multiple git repositories - dotenv-checker
🔌 CLI to check/generate .env files and maintain them synchronized dotenv config environment checker generator conf…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents