title: xcode9 "The current branch could not be determined"
body: <p>pushing to github was working fine.  I think this problem started when i checked out a branch from github.  How do i fix this?  When i try to push to github now, i get the error "The current branch could not be determined."</p>
  
  <p>Also, all my local commits do not show up with comments in either of my local branches.  at least not in xcode 9 UI.  I don't really know how to use the local git to check these things, so if someone wants to point me to documentation that would be helpful too.</p>