Newer version of git complains if no default branch name is set. This config sets the default branch name to "main".
Setting push.default to current prevents git from complaining about no upstream branch set when pushing the branch for the first time.
You no longer has to type: git push --set-upstream origin mybranch.