title: retro create a git repository from backup dirs
body: <p>I have several backup dirs I want to put them into git.</p>
  
  <p>The dirs are:</p>
  
  <pre><code>web_backup_2012-03-07
  web_backup_2012-06-03
  web_backup_2012-06-21
  web_backup_2012-06-25
  web_backup_2012-07-02
  web_backup_2012-07-15
  web_backup_2012-07-21
  </code></pre>
  
  <p>now I want to put them on git. What's the best way?
  (each backup is about 1.1 G, 20k files.)</p>
  
  <p>Here's what I think should do:</p>
  
  <p>• cd to the earliest backup dir.</p>
  
  <pre><code>git init
  git add .
  git commit . -m"initial commit"
  </code></pre>
  
  <p>then move the .git dir into the second dir, then do</p>
  
  <pre><code>git add .
  git commit . -m"commit. ‹date here›"
  </code></pre>
  
  <p>repeat the above.</p>
  
  <p>Then, when in the last dir, I'm done. I can delete all previous backup dirs. (I can then move the .git dir into my current working web dir and repeat. So that my web dir with history is all in git now.)</p>
  
  <p>From my test, each step will take 10 minutes.</p>
  
  <p>I am new to git. Plus is if anyone can tell me whether/how to also add a tag of date (if it is good for this.)</p>
  
  <p>Is there a better way? </p>