title: Git tracking entire home directory. Get error - fatal: bad default revision 'HEAD'
body: <p>I'm completely new to git. I'm working in Mac Terminal.</p>
  
  <p>Whenever I do a <code>git status</code> in my home directory, all untracked files, files in the stage directory, and committed files in my entire home directory appear. When I do a <code>git log</code> in my home directory, I get the following error:</p>
  
  <p>fatal: bad default revision 'HEAD'</p>
  
  <p>How do I go about correcting this error? How do I get git to stop tracking the contents of my entire home directory without affecting it in its current state?</p>
  
  <p>Thanks in advance, and I apologize for my ignorance. I just do not want to do anything that could be potentially damaging to my home directory.</p>
  
  <p>When I enter <code>git status</code> in the main directory, I get the following:</p>
  
  <pre><code>~ (master) &gt; Kojo$ git status
   On branch master
  
  Initial commit
  
   Changes to be committed:
     (use "git rm --cached &lt;file&gt;..." to unstage)
  
      new file:   Desktop/Classes/Person.cpp
      new file:   Desktop/Classes/Person.h
      new file:   Desktop/Classes/Tweeter.cpp
      new file:   Desktop/Classes/Tweeter.h
      new file:   Documents/AoGPMidterm/xcode/TriMesh.h
      new file:   Projects/Testing/Testing/ConditionalClass.cs
      new file:   Projects/Testing/Testing/Lucky_Num.cs
      new file:   Projects/Testing/Testing/NewEnum.cs
  
   Changes not staged for commit:
     (use "git add/rm &lt;file&gt;..." to update what will be committed)
     (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
  
      deleted:    Desktop/Classes/Person.cpp
      deleted:    Desktop/Classes/Person.h
      deleted:    Desktop/Classes/Tweeter.cpp
      deleted:    Desktop/Classes/Tweeter.h
      modified:   Documents/AoGPMidterm/xcode/TriMesh.h
      modified:   Projects/Testing/Testing/Lucky_Num.cs
  
   Untracked files:
     (use "git add &lt;file&gt;..." to include in what will be committed)
  
      .3dequalizer/
      .Assimilate/
      .CFUserTextEncoding
      .MacOSX/
      .adobe/
      .android/
      .appletviewer
      .bash_git
      .bash_history
      .bash_profile
      .bashrc
      .bashrcecho
      .bitrock/
      .cache/
      .codeintel/
      .config/
      .cptzzscn
  </code></pre>