title: Can I replace .git folder for fixing broken reporistory?
body: <p>One week ago, my local reporistory has been broken somehow due to some corrupted files. And while trying to fix my repository I have deleted broken files and tried lots of other things that I am not very familiar. </p>
  
  <p>During this period I have also worked on my project without committing. </p>
  
  <p>Can I fix my local repository with replacing <code>.git</code> folder with the folder that is downloaded from remote.</p>
  
  <p>Note that I don't want to lose works of last week.</p>