git bundle

Package objects and references into an archive. More information: https://git-scm.com/docs/git-bundle.

git bundle create path/to/file.bundle branch_name

git bundle create path/to/file.bundle --all

git bundle create path/to/file.bundle -5 HEAD

git bundle create path/to/file.bundle --since=7.days HEAD

git bundle verify path/to/file.bundle

git bundle unbundle path/to/file.bundle

git pull path/to/file.bundle branch_name