One command to back up every Git repo you have; and more! – git-fire

Hey PH! I’m Ben.

Why I created git-fire:
I’ve wanted this tool to exist for a long time – and when it finally came time for me to build it properly, I chose Go to do it. The first real Go project. I’m proud of how it turned out.

The idea is simple: one command that finds each local Git repo, does your dirty work, and securely pushes the backup. This is the “in case of fire” meme, reworked to account for the reality that most of us work on not one, but a dozen repos.

🔥 Got 30 seconds before everything goes sideways? an order. Done.

It is actively maintained, and I want the community to work hard on it. Break it down, ask stupid questions, open a PR.

FOSS & MIT Licensed: Built-in Go for speed and transparency

Install in seconds:

🍺 macOS/LinuxBrew:

brew tap git-fire/tap && brew install git-fire

🪟 Windows:

winget install git-fire

📦 Linux/All Platforms: Binaries, .deb, .rpm → github.com/git-fire/git-fire/releases

Or, see the README for the install.sh script

try it:

🔥 Interactive TUI selector with fire animation

 git-fire --fire
  • In TUI you can choose which repos to include, ignore repos permanently, and control how each gets backed up – push the current branch, all branches, or leave untouched.

Quickly backups all repos from your current directory

git-fire 

Or:

git fire

⚠️Run first to preview exactly what will happen before anything moves.

git-fire --dry-run

A few things I would particularly like feedback on:

  • Weird repo situations can cause you to break edge cases

  • UX in TUI (‘git-fire –fire’) – has a fire animation, because it had to be

  • Is the agent stop-hook use case available to you (wire it once, automatically checkpoint each AI session)

  • Got a one-liner for the ‘everything’s on fire right now’ feeling? Write it in the comments – the best tools get printed automatically when you run it.

I really want your feedback, feature requests, and ideas – no idea is too silly. If you’re thinking about forking to add something to this, open an issue first. I will make it with you. Target is a tool the community really trusts, and I’d rather see it expand than see it piecemeal.

also dropped [git-testkit] Additionally – test helpers for building real Git fixture repos. Useful if you’re writing tools that touch Git. Python and Java interfaces in development.

Next key feature: USB mode!Write your backup to any mounted disk, no cloud required.

Thanks for checking it out – https://github.com/git-fire/git-… | https://git-fire.com



<a href

Leave a Comment