Where to configure default git branch name

the solution above no longer works. looks like it’s renamed to just programs.git.config

programs.git.config.init.defaultBranch = "main";