Rename your Master Branch Waylon Walker Author Jun 12, 2020 git Copy this post URL Rich Markdown Text View Markdown View Text curl .ansi 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