When making a new repo, reset your initial branch back to master with the following command:
git config --global init.defaultBranch master
There's the equivalent setting in GitHub.
git config --global init.defaultBranch master
There's the equivalent setting in GitHub.