title: local repo has lost its connection to remote
body: <p>A couple of months ago I set up a new local repo linked to a remote on github.  I've been happily committing changes to my local and pushing them up to my origin without a problem until last week.
  Suddenly when I tried to do a push to the remote I got </p>
  
  <pre><code>$ git push origin
  fatal: 'origin' does not appear to be a git repository
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>Stopping and restarting Bash seemed to fix the problem.  But yesterday I tried to push and got the same error.  Only this time stop/starting Bash didn't help.</p>
  
  <p>My local repo appears fine.  I can examine the log and see all my commits.
  The remote on github also appears ok.
  I would like to find the ssh connection string on github and reset my gitconfig.  But I cannot find it. I remember copy pasting it when I created the repo.  But I can no longer locate it.</p>
  
  <p>So in addition to asking for help to be able to push, I would also ask if anyone has seen this problem and what migh have caused it?</p>