May I suggest a name for that branch which does not conflict with other uses and is generally understood by most developers?
master
Merriam-Webster gives several definitions for this word, one of which seems to fit this purpose very well indeed: (noun) an original from which copies can be made, especially: a master recording (such as a magnetic tape), (adjective) being or relating to a master from which duplicates are made, (verb) to produce a master recording of (something, such as a musical rendition)
You can use this one-liner to rename your confusingly-named default branch:
$ git branch -m main master
$ git status
On branch master
May I suggest a name for that branch which does not conflict with other uses and is generally understood by most developers?
Merriam-Webster gives several definitions for this word, one of which seems to fit this purpose very well indeed: (noun) an original from which copies can be made, especially: a master recording (such as a magnetic tape), (adjective) being or relating to a master from which duplicates are made, (verb) to produce a master recording of (something, such as a musical rendition)You can use this one-liner to rename your confusingly-named default branch: