OffGitx64 Andrea
winget install --id=Andrea.OffGitx64 -e Offline-first Git repository manager. Queue, cache, and clone repos without internet.
winget install --id=Andrea.OffGitx64 -e Offline-first Git repository manager. Queue, cache, and clone repos without internet.
> Git that works without internet.
Offline-first Git repository manager for Windows. Queue repos while you have a connection, cache them locally, then clone and work completely offline — no wifi needed.
1. Queue repos you want while online
2. Run fetch-all to mirror them locally
3. Go offline — clone and work as normal
4. Sync back when you have internet again
You need Visual Studio with the C++ workload installed.
.cpp and .h files from the offgit/ folderTo add offgit to your PATH so you can run it from anywhere, run Add-Path.bat as administrator after building.
offgit queue add Add a repo to the queue
offgit queue remove Remove a repo from the queue
offgit queue list List all queued repos
offgit fetch-all Cache all queued repos (needs internet)
offgit update Re-fetch a specific cached repo
offgit sync Push queued commits when back online
offgit clone Clone from cache — no wifi needed
offgit info Show branches and size of a cached repo
offgit diff Show changes since last fetch
offgit list List all cached repos with size on disk
offgit search Search your queue by name
offgit status Show network status, queue, and cache info
offgit history Show log of all OffGit actions
offgit remove Delete a repo from cache
offgit rename Rename a cached repo
offgit pin Pin a repo so it never gets auto-cleaned
offgit unpin Unpin a repo
offgit export Copy a cached repo to a USB or folder
offgit import Import a repo from USB into cache
offgit clean Remove all uncached entries from queue
offgit purge Wipe the entire cache
offgit doctor Check and fix broken cached repos
offgit help Show all commands
offgit queue add https://github.com/facebook/react.git
offgit queue add https://github.com/vuejs/vue.git
offgit fetch-all
-- turn off wifi --
offgit clone https://github.com/facebook/react.git my-react
offgit clone https://github.com/vuejs/vue.git my-vue
All cached repos are stored at:
%APPDATA%\OffGit\cache\
OffGit has a built-in blocklist that blocks known malware and RAT repos from being queued or cached. You can add your own blocked keywords to:
%APPDATA%\OffGit\blocklist.txt
One keyword per line. Any repo URL containing that keyword will be blocked.
This software is provided "AS IS" without any warranty.
MIT — free to use, modify, and distribute. See LICENSE for details.