title: Moving the .git directory wihout moving the files
body: <p>I am using to track changes to some linux system files (/etc/*), I had the .git in /etc
  but now I decided to move it to / as I want to track files that are outside /etc (both /etc and / are in the same filesystems...), I did that and tried to re-add the same files with:</p>
  
  <pre><code>git add $(git status | awk '/deleted/ { print "etc/"$3 } ')
  </code></pre>
  
  <p>But it does not appear to be working as I hoped as now the are two lists one with a list of "new files" and one with a list of "deleted files", if commit now I will lose all the history
  for the files....</p>
  
  <p>What would have been the correct steps?</p>
  
  <p>Thanks!
  Antonio</p>