DevSafe / Docs
Docs Get started Introduction

What is DevSafe?

DevSafe is an encrypted git backup tool. It finds your repositories, creates git bundles, encrypts them with AES-256-GCM, and uploads them to storage you own. Your keys never leave your machine.

The problem with cloud sync

Cloud sync services like iCloud, Dropbox, OneDrive, and Google Drive were not built for git repositories. They corrupt .git directories through lockfile races, partial pack writes, index conflicts, and ref pointer overwrites. Git's own FAQ warns against storing repositories in synced folders.

The corruption is subtle. You might not notice for weeks. By the time you do, your backup history is damaged and the sync service has faithfully replicated the damage to every connected device.

DevSafe solves this by reading directly from git's object database (not the filesystem) and producing a single encrypted git bundle. There are no partial writes, no lock contention, and no way for a sync service to interfere.

How it works

DevSafe follows four steps for every backup:

After each backup, DevSafe verifies the bundle is restorable without trusting the storage provider.

terminal
$ brew install hxalabs/tap/devsafe
$ devsafe scan ~/projects
 discovered 14 repositories
 0 corrupted, 3 at risk (iCloud sync detected)

Free tools and paid features

DevSafe ships as a single binary. Many commands are free and require no account:

Paid features handle encrypted backup to user-owned storage:

Design principles

Every decision in DevSafe follows from these constraints:

Ready to get started?

The Quickstart guide walks you through install, first backup, and verification in under five minutes.