Git UPS
Git transfers that keep going, even when your connection doesn’t.
Git UPS is a resilient networking client for Git. It runs clone, fetch, pull and push operations as persistent background jobs, automatically retries interrupted transfers, and lets you pause, resume or cancel operations whenever you need.
Think of it as an uninterruptible power supply for your Git workflow.
Git should not stop because your internet does.
A dropped connection, temporary server outage or network timeout shouldn’t mean starting a lengthy Git operation all over again. Traditional Git commands are synchronous: when a network operation fails, you often have to diagnose the problem and run the command again. Git UPS takes a different approach. It puts your Git network operations into a persistent job queue, handles transient failures automatically and keeps track of their progress.
Less babysitting. Fewer interrupted transfers. More reliable Git workflows.
A safety net for your Git operations
- Persistent background jobs — Start a Git operation and let it run in the background. Jobs are stored locally in SQLite, so their state survives terminal sessions and process restarts.
- Automatic retries — Temporary network failures shouldn’t require manual intervention. Git UPS retries recoverable errors using exponential backoff.
- Resumable cloning — Download repository bundles using HTTP Range requests, verify their SHA-256 checksums and resume interrupted downloads instead of starting from scratch.
- Full job control — Inspect progress, pause or resume jobs, cancel unwanted transfers, and run commands in the foreground when needed.
- Your existing Git workflow — Use familiar commands through
git gostwithout learning an entirely new workflow. - Cross-platform — Designed for Linux, macOS and Windows.
How it works
- Submit: Run a Git network command using
git gost. - Queue: The operation is registered in a persistent local SQLite database.
- Execute: A background worker performs the operation.
- Recover: Transient network failures trigger automatic retries.
- Monitor: Inspect progress and control your jobs whenever you need.
Your jobs and their state are managed locally, under ~/.gitgost/.
Familiar commands. More resilient transfers.
git gost clone https://github.com/torvalds/linux.git
git gost fetch
git gost pull
git gost push
git gost jobs
git gost watch 42
git gost pause 42
git gost resume 42
git gost cancel 42
Use --foreground when you prefer to follow an operation directly in your terminal.
Built around your infrastructure
- Local job storage: SQLite keeps your job history and state on your machine.
- No mandatory account: No Git UPS account or authentication service is required.
- Open source: Inspect, modify and build the software yourself.
- No telemetry: No built-in tracking or analytics.
Git UPS supports direct Git remotes for resilient fetch, pull and push operations. Cloning currently uses the gitGost gateway for remote bundle generation and resumable downloads.
Requirements
- Go 1.25 or later.
- Git installed and available in your PATH.
- Linux, macOS or Windows.
Getting started
git clone https://github.com/livrasand/git-ups.git
cd git-ups
go build -o git-ups ./cmd
./git-ups install
git gost version
Open source. Built for developers.
Git UPS is released under the MIT License.
Git UPS — A little more resilience for every Git operation.