title: Why is there two init.defaultbranch entries in my gitconfig file?
body: <p>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.</p>
  <p>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.</p>
  <p>I am running git version 2.34.1.windows.1</p>
  <p>If anyone knows what might be causing this issue (basically, what did I mess up) I would appreciate it.</p>
  <p><a href="https://i.stack.imgur.com/z4FTA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z4FTA.jpg" alt="Two entries of init.defaultbranch" /></a></p>