title: how to restore a locally deleted repository with github client
body: <p>So I was using a BitBucket repository with the GitHub client, the repository I have in BitBucket is the main and older one which misses important and hard-worked files saved on my computer. I wanted to switch from BitBucket to GitHub so I went to the repository settings and changed the primary remote URL from the BitBucket one to the new GitHub repository which is new and empty, then I clicked commit and clicked synced and then I got a 'failed to commit' error and instantly saw that all of my files on my locally saved repository have been deleted.</p>
  
  <p>Is it possible to get them back? If it is then how?</p>