git-sync
CLI tool to back up and sync Git repositories
git-sync is a command-line tool for backing up and syncing Git repositories to a local directory. It automates cloning and updating repositories so you retain recoverable copies in case of account issues, accidental deletion, or service outages.
Key Features
- Backs up all repositories from supported Git hosting services
- Periodic syncing support for keeping local backups up to date
- Multiple clone strategies, including bare (space-efficient), shallow, mirror, and full clones
- Concurrent syncing to reduce total backup time
- YAML configuration file for managing settings and targets
- Customizable backup directory layout
- Notifications on completion and errors
Use Cases
- Maintain an offline backup of personal or organization repositories
- Create periodic, automated repository snapshots for disaster recovery
- Migrate or mirror repositories across Git hosting providers
Limitations and Considerations
- Focused on repository-level backup/sync; it does not back up hosting-side metadata like issues, PRs, or wikis unless separately cloned/exported
git-sync is a lightweight, automation-friendly way to keep local, restorable copies of your Git repositories. It is especially useful for users who want a simple CLI workflow with configurable clone modes and concurrency for faster backups.
Categories:
Tags:
Tech Stack:
Similar Services

rclone
Command-line sync and management tool for cloud and remote storage
rclone is a CLI tool to sync, copy, mount, and serve files across cloud storage providers and standard protocols like S3, WebDAV, FTP, and SFTP.

restic
Fast, secure, deduplicating backup tool for files and directories
Restic is a fast, efficient backup program with encryption, deduplication, snapshots, and multiple storage backends including local, SFTP, REST, and S3-compatible stores.


Duplicati
Encrypted, incremental backups to cloud and remote storage
Open-source backup client for encrypted, compressed, incremental backups to cloud storage and remote servers via SFTP, WebDAV, and more.

BorgBackup
Deduplicating backup tool with encryption and compression.
BorgBackup is a deduplicating backup program with authenticated encryption and compression for Unix-like systems.


Kopia
Cross-platform snapshot-based backup tool with encryption and deduplication
Cross-platform backup and restore tool with snapshot-based incremental backups, client-side end-to-end encryption, compression, and deduplication via CLI and GUI.


Duplicacy
Lock-free deduplicating backup tool with cloud and SFTP storage support
Cross-platform backup tool with lock-free deduplication, encryption, snapshots, and pruning, supporting local disk, SFTP, and many cloud storage backends.

Go
Docker
Bash