🔥 3-day streak
GitHub Foundations (GH-900)129 / 150
Question 129 of 150

A team lead is standardizing repository conventions across the organization. One older repository still uses 'master' as its default branch, and the team wants to rename it to 'main' while keeping all history, open pull requests, and existing collaborators intact. What is the recommended way to accomplish this on GitHub?

Reviewed for accuracy · Report an issueNext question