How to backup a local Git repository?

The other official way would be using git bundle That will create a file that supports git fetch and git pull to update your second repo. Useful for incremental backup and restore. But if you need to backup everything (because you do not have a second repo with some older content already in place), the … Read more