Analysis updated 2026-05-18
Automatically back up all your GitHub or GitLab repositories on a recurring schedule.
Keep a set number of historical backups in case a repository is deleted or corrupted.
Store repository backups on a local SMB network share instead of the cloud.
Self-host a private backup system without relying on a third party SaaS.
| timwitzdam/gitsave | supabase/examples-archive | vercel-labs/mdxg | |
|---|---|---|---|
| Stars | 309 | 302 | 316 |
| Language | TypeScript | TypeScript | TypeScript |
| Last pushed | — | 2023-02-09 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 2/5 | 1/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Docker and setting a JWT secret plus a 32-character encryption secret.
GitSave is a self-hosted, open-source tool that keeps backups of your Git repositories. If you use GitHub, GitLab, or another Git platform, GitSave can periodically copy your repositories somewhere safe, so you still have your code even if the original hosting goes down or a repository is deleted by accident. You run GitSave yourself using Docker, either with a single command or with Docker Compose. It gives you a web interface where you set up backup schedules, choose how many past backups to keep, and pause or resume those schedules whenever you want. You can also view a history of past backups from the same interface. Beyond GitHub and GitLab, it supports other Git platforms, and it can save backups to an SMB network share as well as to local storage. GitSave also supports connecting your own authentication provider if you do not want to rely on its built in login, and there is an option to disable authentication entirely for simpler setups. Before deploying it, the project asks you to set two secret values, a JWT secret and an encryption secret, which protect stored data and login sessions. This project is aimed at developers and self-hosters who already keep their own servers running and want an extra layer of protection for their source code. It is written in TypeScript and packaged as a Docker image, so no manual installation of dependencies is needed beyond having Docker available. The project is open source, so anyone can inspect how it works, run it on their own infrastructure, or contribute changes back to it. Because the backups are stored on hardware you control, whether that is a home server, a small cloud instance, or a network share, you are not depending on any single Git hosting company staying online or keeping your account active. This kind of independent copy is especially useful for people who maintain many repositories across different platforms and want one consistent place to check that everything is actually being preserved.
A self-hosted tool that automatically backs up your GitHub, GitLab, or other Git repositories on a schedule.
Mainly TypeScript. The stack also includes TypeScript, Docker.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.