git-sync

CLI tool to back up and sync Git repositories

702 stars 33 forks last commit first released MIT

Slowing down

No commits since 14 Feb 2026. Check the issue tracker before you rely on it.

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:

Share:

Similar to git-sync

docker-volume-backup

Backup and rotate Docker volumes to local storage or remote backends

4k
151
Last commit

Lightweight companion container to back up Docker volumes on a schedule or on demand, with rotation, encryption, notifications, and support for multiple storage backends.

MPL-2.0Actively maintained
Alternative to:
Acronis Cyber Protect logo
Acronis Cyber Protect
+9
rclone logo

rclone

Command-line sync and management tool for cloud and remote storage

59.4k
5.3k
Last commit

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.

MITActively maintained
Alternative to:
GoodSync logo
GoodSync
+8
Kopia logo

Kopia

Cross-platform snapshot-based backup tool with encryption and deduplication

14k
712
Last commit

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

Apache-2.0Actively maintained
Alternative to:
Duplicacy (Commercial) logo
Duplicacy (Commercial)
+15

Backrest

Web UI and orchestrator for restic backups

7.2k
206
Last commit

Backrest provides a web UI to manage Restic backups across multiple repositories, with scheduling, restores, and notifications.

GPL-3.0Actively maintained
Alternative to:
Acronis Cyber Protect logo
Acronis Cyber Protect
+13

Databasus

Web-based scheduled backup management for databases

8.3k
509
Last commit

Open-source database backup tool for PostgreSQL, MySQL/MariaDB, and MongoDB with scheduling, encrypted archives, multiple storage backends, and notifications.

Apache-2.0Actively maintained
Alternative to:
Veeam Backup & Replication logo
Veeam Backup & Replication
+13
Duplicacy logo

Duplicacy

Lock-free deduplicating backup tool with cloud and SFTP storage support

5.7k
352
Last commit

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

Actively maintained
Alternative to:
Duplicacy (Commercial) logo
Duplicacy (Commercial)
+15