Sneakernet your repo across an air gap.
Pack history into a single file you can transport offline. Bundles are valid Git remotes — you can clone, fetch, and pull from them.
A bundle is a packfile with a small header listing the refs and their tip SHAs. git fetch <bundle.file> treats it identically to a network fetch — same negotiation logic, same object resolution.
git bundle create [-q | --quiet | --progress]
[--version=<version>] <file> <git-rev-list-args>
git bundle verify [-q | --quiet] <file>
git bundle list-heads <file> [<refname>...]
git bundle unbundle [--progress] <file> [<refname>...]| Flag | What it does |
|---|---|
create <file> <revspecs> | Make a bundle of the specified commits/refs. |
verify <file> | Sanity-check a bundle. |
list-heads <file> | List refs in a bundle. |
<file>.$ git bundle create proj.bundle --all$ git bundle verify proj.bundle$ git bundle list-heads proj.bundle$ git bundle unbundle proj.bundle$ git bundle create proj.bundle --all$ git bundle create incr.bundle v1.2..main$ git clone proj.bundle proj/--all.verify before relying on a bundle — corrupted ones are unhelpful.--all picks up every ref including stash; trim if not wanted.Hit each option, then Check answers. Score is recorded; Next is always open.