title: Is it ok to edit .git/config file in repository manually?
body: <p>I used to edit <code>.git/config</code> file manually, for example adding repositories, setting upstream repository etc. based on how it looked in other <code>.git/config</code> files. My colleague advised me not to do it, because I can make a mess there (as a general rule, not based on something I did). He told me to use commands, which is harder for me, because I always have to check them. I prefer to benefit from &quot;everything is a file&quot; unix approach. I also see better what is going on, because I have the whole picture when looking at the file.</p>
  <p>I'm not proficient at git and I usually make a lot of mess, but I think it's not because of editing <code>.git/config</code> files, mostly it happens when I try to resolve conflicts.</p>
  <p>Is it generally not advised to edit these files manually?</p>