I am fairly new to git and in the process of setting up my global configurations, I changed the defaultbranch from master to main. I thought it was fine until I pushed a project to a private bonobo server (for work) and the solution shows up in the repository browser under a master branch with my initial branch (main) under it. I checked my git settings and now I am seeing two entries for the init.defaultbranch section.

The entries are the same now because I went into the gitconfig file and changed the name there, before I realized that this is where my issue may be.

I am running git version 2.34.1.windows.1

If anyone knows what might be causing this issue (basically, what did I mess up) I would appreciate it.

[![Two entries of init.defaultbranch](https://i.stack.imgur.com/z4FTA.jpg)](https://i.stack.imgur.com/z4FTA.jpg)