WP GitBridge
Export your entire WordPress site to a GitHub repository. Creates complete backups including all files (wp-content) and database (SQL dump), then automatically uploads them to your GitHub repo using the GitHub API
by Abe Prangishvili · github.com/prangishviliabe/wp-gitbridge · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/prangishviliabe/wp-gitbridge/archive/refs/heads/main.zipReadme
WP GitBridge 🚀

WP GitBridge is a powerful and user-friendly WordPress plugin that allows you to export your entire site (files + database) directly to a GitHub repository. Perfect for version control, automated backups, and seamless migration workflows.
✨ Features
- ✅ Database Export: Creates a complete SQL dump of your WordPress database.
- ✅ File Archiving: Compresses your entire
wp-contentfolder into a ZIP archive. - ✅ GitHub Integration: Automatically uploads backups using the GitHub API.
- ✅ Premium Interface: Modern and intuitive admin dashboard.
- ✅ Branch Selection: Push to any branch (main, master, or custom).
- ✅ Secure Authentication: Uses GitHub Personal Access Tokens for secure API access.
📋 Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- GitHub Personal Access Token with
repopermissions
🚀 Installation
- Download the plugin and upload it to
/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Navigate to WP GitBridge in your admin sidebar.
⚙️ Configuration
- Go to WP GitBridge in your WordPress admin panel.
- Enter your GitHub Personal Access Token (must have
repopermissions). - Specify your repository in the format
username/repo-name. - Select the target branch (default:
main). - Click Save Settings.
🎯 How to Use
- After configuration, click the Start Export button.
- The plugin will:
- Export your database as an SQL file
- Create a ZIP archive of your
wp-contentfolder - Upload both files to your specified GitHub repository
- Monitor the progress and check the status messages.
� Security Notes
- Your GitHub token is stored securely in the WordPress database.
- Use a token with minimal required permissions (
reposcope only). - Never share your Personal Access Token publicly.
⚠️ Limitations
- GitHub API has a 100MB limit per file for uploads.
- Large sites may need to exclude certain directories.
- Ensure your server has sufficient memory for ZIP creation.
�🛠 Author
Abe Prangishvili
GitHub Profile
📄 License
This plugin is licensed under the GPL v2 or later.
Made with ❤️ for the WordPress community