title: git: fatal: bad default revision 'HEAD' with all new repos
body: <p>The issue was a heavy amount of shell customization.</p>
  
  <p>If I try to create a new repo with <code>git init</code> it gives me <code>fatal: bad default revision 'HEAD'</code> twice. </p>
  
  <p>If I do <code>git log</code> it gives me the same error three times.</p>
  
  <p>I have deleted <code>~/.git</code> , <code>~/.config</code> , and <code>~/.gitconfig</code> based on other answers I've found stating I might have created the repo in my home directory. The only repo that doesn't give me this issue is the one I cloned from someone else. </p>
  
  <p>I'm unsure what I did besides deleting anything in my home directory with git info in it.</p>
  
  <p>As per request:</p>
  
  <pre><code>jsw:~ jsw$ mkdir test
  jsw:~ jsw$ cd test
  jsw:test jsw$ git init
  Initialized empty Git repository in /Users/jsw/test/.git/
  fatal: bad default revision 'HEAD'
  fatal: bad default revision 'HEAD'
  jsw:test(master|23448707m) jsw$ cat .git/HEAD
  ref: refs/heads/master
  fatal: bad default revision 'HEAD'
  fatal: bad default revision 'HEAD'
  
  
  jsw:~ jsw$ git status
  fatal: Not a git repository (or any of the parent directories): .git
  </code></pre>