Backs up all your GitHub repositories.
Usage:
./github_backup.py github_user_name ./backup
You can run it as a cron job:
@hourly /home/user/github_backup.py user /home/user/github_backup
- Add support for other sites (BitBucket, Google Code etc.)
- Make it resistant to remote branch deletion or history rewriting