title: This directory does not appear to be a git repository
body: <p>I have factory reset my computer, and before that, I had my github repositories synced locally to remotely. Now I am trying to add a local repository and it keeps showing: This directory does not appear to be a git repository. All repositories did this. I pasted in the .gitattributes file in, they are all in a file github, and creating a new local repository worked.
  <img src="https://user-images.githubusercontent.com/31084854/43618493-b8648320-9696-11e8-98a1-1cd48b0f729c.png" alt="GitHub Desktop not adding local repository" /></p>
  <p>Here is what it looks like after I created a new repository for one of the repositories online that I had, and tried linking them with the URL:
  <a href="https://i.stack.imgur.com/nOHCy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nOHCy.png" alt="Repository Settings not showing URL option" /></a></p>
  <p>It did not show the URL option. Publishing doesn't work because it already exists on GitHub.</p>