title: Order of commands when migrating to Git LFS and tracking files
body: <p>I want to use LFS for an existing Git repository and track <code>*.foo</code> files, converting the files in history too. I guess I can do this:</p>
  
  <pre><code>git lfs track "*.foo"
  # changed `.gitattributes` and all `.foo` files
  commit -a -m "Started tracking foo files."
  git lfs migrate import --everything --include="*.foo"
  </code></pre>
  
  <p>Should I track the files before importing the repository, as I do above, or should I do that afterwards? Does it matter?</p>