Product Thumbnail

git-fire

One command to back up every Git repo you have; and more!

Open Source
Developer Tools
Alpha

One command to back up every Git repo you have. Discovers repos, auto-commits dirty work, and pushes backup branches β€” safely. πŸ”₯ Dry-run first, push second Β· πŸ”₯ Streaming pipeline β€” backup starts before scan finishes Β· πŸ”₯ Secret detection before any auto-commit Β· πŸ”₯ No force-push Β· πŸ”₯ Plugin support Β· πŸ”₯ Structured logs, 250+ tests Β· πŸ”₯ Bubble Tea TUI with fire animation Built from the old "in case of fire: git commit, git push, leave building" meme. Rebuilt properly. Beta. MIT.

Top comment

Hey PH! I'm Ben.

Why I built git-fire:
I've been wanting this tool to exist for a long time β€” and when I finally had the time to build it properly, I picked up Go to do it. First real Go project. I'm proud of how it turned out.

The idea is simple: one command that finds every local git repo, commits your dirty work, and pushes backups β€” safely. It's the "in case of fire" meme, rebuilt for the reality that most of us work across a dozen repos, not one.

πŸ”₯ Got 30 seconds before everything goes sideways? One command. Done.

It's actively maintained, and I want this community to push it hard. Break it, ask the 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 the TUI you can select which repos to include, ignore repos permanently, and control how each one backs up β€” push current branch, all branches, or leave untouched.

⚑Immediately backs up 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'd especially love feedback on:

  • Edge cases you can break with weird repo states

  • UX in the TUI (`git-fire --fire`) β€” it has a fire animation, because it had to

  • Whether the agent stop-hook use case lands for you (wire it once, checkpoint every AI session automatically)

  • Got a one-liner for that 'everything is on fire RIGHT NOW' feeling? Drop it in the comments β€” the best ones get printed by the tool itself when you run it.

I genuinely want your feedback, feature requests, and ideas β€” no idea is too dumb. If you're thinking about forking it to add something, open an issue first. I will build it with you. The goal is a tool the community actually relies on, and I'd rather extend it than watch it fragment.

Also dropped [git-testkit] alongside this β€” Go test helpers for building real Git fixture repos. Useful if you're writing tools that touch git. Python and Java interfaces in development.

Next Major Feature: USB Mode! - write your backups to any mounted disk, no cloud required.

Thanks for checking it out β€” https://github.com/git-fire/git-... | https://git-fire.com

Comment highlights

No comment highlights available yet. Please check back later!