Canonical URL for this post 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