title: Updating .gitconfig resulted in two files
body: <p><strong>SOLVED:</strong> <em>See the comment section for the answer</em></p>
  
  <p>Image illustrating my problem:</p>
  
  <p><a href="https://i.stack.imgur.com/BijG6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BijG6.png" alt=".gitconfig files"></a></p>
  
  <p>So I was troubleshooting a Visual Studio error which implied adding information to my gitconfig file. I right-clicked on the file, decided to open with Notepad (so that I could edit the file), and then did my editing. However, upon updating the file, my computer proceeded to generate a new gitconfig file, so now I have two (?).</p>
  
  <p>The weird thing is that the unnamed gitconfig file, which was named <code>.gitconfig</code> prior to editing, is now unnamed (?). And the file at the bottom which is now named <code>.gitconfig</code> contains the information, that I updated the original file (which is, the file above) with.</p>
  
  <p>Has this occured to anyone before? I would assume, that I somehow don't have permission to update the original <code>.gitconfig</code>, so instead of me updating it it just creates a new? Also, does anyone know how to handle this, in terms of which one to delete?</p>