How to configure default git branch?

I created a repo yesterday, and took the extra step at the beginning so it never had a master branch!

git init
git checkout -b main

Cool, but how do I set that for permanent?