Save $50 on MainWP Pro!

Manage unlimited sites with no per-site fees. Limited-time offer!

MainWP Github Default Branch Rename

Published on October 1, 2025 by Editorial Team in MainWP Blog under Important Updates
Heads up: This page may include affiliate links. Read the full disclaimer.
MainWP Github Default Branch Rename

Note: This change only affects developers and external collaborators working with our GitHub repositories. Regular MainWP users are not impacted and don’t need to take any action.

master → main

We’ve updated all MainWP GitHub repositories to use main as the default branch instead of master. This change aligns with current industry standards adopted by GitHub, major open-source projects, and development teams worldwide.

Why the change?

Git’s default branch naming has evolved over the past few years, with main becoming the widely accepted standard.

GitHub now uses main for all new repositories, and most major projects have already made the transition. By adopting main, we’re staying consistent with modern Git conventions and making our repositories more intuitive for new contributors.

What you need to do

If you have local clones or forks of MainWP repositories, update them with these commands:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

For external collaborators:

  • New clones automatically use main
  • Existing pull requests have been retargeted
  • Update any scripts, CI/CD pipelines, or documentation referencing master

The transition should be seamless, but if you encounter any issues, please reach out to our team or post in our Discord community.

Share

Manage Unlimited WordPress Sites from One Dashboard!

  • Privacy-first, Open Source, Self-hosted
  • Easy Client Management
  • 15+ & 30 + Premium Add-ons
  • Bulk Plugins & Themes Management
Get Pro Now

Categories

Recent Posts

Search MainWP.com

[searchwp_form id="1"]