What is the easiest way to do incremental backups of a git repository with git bundle?
git bundle
If I just wanted to backup a single branch, I could do something
You could do
git clone --mirror my-backup.git
It will create a bare repo with all refs.
Then you could periodically do git push --mirror .
git push --mirror