title: How do I make a Git commit in the past?
body: <p>I'm converting everything over to Git for my own personal use and I found some old versions of a file already in the repository.  How do I commit it to the history in the correct order according the file's &quot;date modified&quot; so I have an accurate history of the file?</p>
  <p>I was told something like this would work:</p>
  <pre><code>git filter-branch --env-filter=&quot;GIT_AUTHOR_DATE=... --index-filter &quot;git commit path/to/file --date &quot; --tag-name-filter cat -- --all  
  </code></pre>