title: How to map local folder with existing git repository
body: <p>I want to map my working folder with existing bitbucket repository</p>
  <h3><strong>What happened</strong></h3>
  <p>I had a working folder connected with Bitbucket Repository. And I was working on a branch. The branch was already pushed and exist on Bitcucket remote. I have committed some changes locally, and then while committing one more changes SourceTree hanged and did not respond for half an hour. I will not blame source tree, it was my machine. So had to restart my machine. after that i cannot push any changes and was getting file corrupted error. Then, I <em>deleted</em> the .git folder :(</p>
  <h3>Problem</h3>
  <p>I was searching for any way to map the local folder with existing git repo, could not find anything. Is it possible or not?</p>
  <h3>Plan B</h3>
  <p>I can map my existing repository to a new folder and then copy the changed folders to the mapped folder. Not sure, that will work or not? It may work, but i am looking for any other solution better than this or a proper way to do that</p>