I've made a small change to my git configuration, which anyone should be able to do today. I've updated my git to the latest 2.28. I think is a good step for my workflow, as seeing and repeating master on conference calls was a bit aggravating for me.
Run through the prompts.
Canonical repos might not be up to date, so you will need a ppa repo fortunately there is one for git:
sudo add-apt-repository ppa:git-core/ppa sudo apt update sudo apt install git -y
brew ugprade git
I no longer have a mac, so can't confirm this is the latest.
Check version, and update your default branch name. Mine is main, but yours can be something else like latest, production, etc.
git --version git config --global init.defaultBranch main