title: Why can't i checkout a new branch?
body: <p>So I get into terminal and for some reason I am on a branch that I don't remember making:</p>
  
  <pre><code>camel@therafer:~/hashrocket/poopgraph(ref: re...)
  </code></pre>
  
  <p>When I try to get out of this branch by using <code>gco master</code> it tells me:</p>
  
  <pre><code>camel@therafer:~/hashrocket/poopgraph(ref: re...)$ git checkout master
  error: Your local changes to the following files would be overwritten by checkout:
      app/controllers/application_controller.rb
      app/controllers/users_controller.rb
      app/models/user.rb
      features/dump.feature
  
  Please, commit your changes or stash them before you can switch branches.
  Aborting
  </code></pre>
  
  <p>So I go on to try and stash or commit the branch, commiting doesn't seem to do anything because when i do git status there are still a bunch of new files that pop up, and stash just returns:</p>
  
  <pre><code>fatal: bad revision 'HEAD'
  fatal: bad revision 'HEAD'
  fatal: Needed a single revision
  You do not have the initial commit yet
  </code></pre>
  
  <p>This is driving me crazy because I just keep going in circles and I can't seem to figure out why my branch system isn't working.</p>
  
  <p>Note: i also tried changing the HEAD branch as suggested by another similar post and that did not work.</p>