WP Manifestindependent plugin directory
manifest / updates / wp-gitbridge

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

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/prangishviliabe/wp-gitbridge/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WP GitBridge Cover

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-content folder 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 repo permissions

🚀 Installation

  1. Download the plugin and upload it to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Navigate to WP GitBridge in your admin sidebar.

⚙️ Configuration

  1. Go to WP GitBridge in your WordPress admin panel.
  2. Enter your GitHub Personal Access Token (must have repo permissions).
  3. Specify your repository in the format username/repo-name.
  4. Select the target branch (default: main).
  5. Click Save Settings.

🎯 How to Use

  1. After configuration, click the Start Export button.
  2. The plugin will:
    • Export your database as an SQL file
    • Create a ZIP archive of your wp-content folder
    • Upload both files to your specified GitHub repository
  3. 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 (repo scope 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