GitHub Account ZIP Backup
Loading screenshots if available ...
GitHub Full-Branch ZIP Backup is a Python tool designed to back up every branch from all repositories in your GitHub account as individual ZIP files. It automatically retrieves repositories, clones each branch with depth=1 for efficiency, compresses them, and cleans up temporary files โ providing a smooth, automated backup workflow.
๐ฅ Features:
- Fetch All Repositories:
Automatically retrieves all public and private repositories for the authenticated GitHub user. - Branch Detection:
Lists every branch in each repository to ensure full coverage of your projects. - Per-Branch Cloning:
Clones each branch into a dedicated folder named repo__branch with shallow depth for faster execution. - ZIP Packaging:
Compresses each cloned branch folder into a clean repo__branch.zip file for efficient storage. - Cleanup:
Automatically deletes temporary clone directories after zipping to free up disk space. - Progress Feedback:
Displays real-time progress updates showing current repository and branch being processed. - Error Handling:
Continues operations on failure, logs issues, and provides a summary at the end.
๐ฎ Tech stack:
๐ Dependencies:
- Git installed and available in PATH
- Python Libraries: [requests, gitpython, tqdm]
๐ค Use Cases:
- Backup every branch from all your GitHub repositories into timestamped ZIP files.
- Safely archive repositories from organizations and personal accounts with one command.
Last Updated: 16-10-2025