title: git how to clean a cloned repository and reclone
body: <p>I am using a usb that i have cloned my repo, so i can transfer my work at home and vice versa. Many times the usb has problems and corrupts the repository. If I try to clean it and reclone it shows all the old (self) files as deleted, and all the origin's files as modified.</p>
  
  <p>I tried to clean the cloned repo by deleting folder or rename it, or event delete .git and reclone but it still shows old files as deleted. Is there a way to fix it?</p>