Rename your Master Branch Waylon Walker Author June 12, 2020 1 min read Copy this post URL Rich Markdown Text View Markdown View Text curl .ansi Rename your Master Branch git branch -m master main git push -u origin main Share this post Twitter Bluesky LinkedIn WhatsApp Facebook Telegram Pinterest Reddit Hacker News Email Copy link