---
title: "Comment by Mark on \"GitHub to rename the default branch to main\" | Hashnode"
description: "Glad they&#39;re eventually going to make it easy to rename in existing repositories; it would be annoying to do by hand, but also annoying to have different na"
url: "https://hashnode.com/posts/github-to-rename-the-default-branch-to-main/5f68859935d6463d2b5f9654/comment/5f68b9a835d6463d2b5f9ad4"
---

[Discussion](https://hashnode.com/posts/github-to-rename-the-default-branch-to-main/5f68859935d6463d2b5f9654)

Comment [GitHub to rename the default branch to main](https://hashnode.com/posts/github-to-rename-the-default-branch-to-main/5f68859935d6463d2b5f9654)

[Mark](https://hashnode.com/@mverleg)

[Sep 21, 2020](https://hashnode.com/posts/github-to-rename-the-default-branch-to-main/5f68859935d6463d2b5f9654/comment/5f68b9a835d6463d2b5f9ad4)

Glad they're eventually going to make it easy to rename in existing repositories; it would be annoying to do by hand, but also annoying to have different names in different repos.

I wonder if someone will make some git extension to make "master" an alias of "main".

Now that I think about it, I usually do "git init" and add a remote later. I guess this change only works if you clone the empty repo that Github creates. Is git itself going to change too?
