How to Back Up a Git Repository to One File
1. Create
git bundle create backup.bundle --all
2. Verify
git bundle verify backup.bundle
3. Restore
git clone backup.bundle
ℹ️ Feel free to change the backup.bundle
file name
git bundle create backup.bundle --all
git bundle verify backup.bundle
git clone backup.bundle
ℹ️ Feel free to change the backup.bundle
file name