Backups all of your remote git repositories (Github/Bitbucket) locally.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Git backup.

Backups all of your remote git repositories (GitHub / Bitbucket) locally.

What do I need?

  • Python 3+

How to run it?

Install by hand

$ git clone

Install with pypi

$ pip install git-repo-backup

Configure it

  1. Create configuration file, you can see example inside of git_backup/config.cfg.dist
  2. Set your Github/Bitbucket access token and path to where repositories will be stored

Install dependencies

$ python install

Execute it

$ python git_backup/


$ git_backup_run


Q: How can I export it to Google Drive/Dropbox/etc.

A: Just set BACKUP_PATH from to a path that is synchronised with your cloud storage