In the Pro Git book, it says
“origin” is not special
Just like the branch name “master” does not have any special meaning in Git, neither does “or
Since Git 2.28 (released July 27, 2020) a new configuration option, init.defaultBranch is being introduced to replace the hard-coded term master.
Default remains to master!
The user can override the default value of the configuration variable with:
$ git config --global init.defaultBranch main
Read the git doc chapter for further details Introducing init.defaultBranch