title: Bad git config file .git/config
body: <p>In my git repositiory, whenever I do any git commands like <code>git status</code> or <code>git log</code>, I get the error:<br>
  <code>fatal: bad config file line 1 in .git/config</code><br>
  How do I rebuild that file or a new one?</p>