title: Should I add third-party js code as a git submodule, or add it to my own repo?
body: <p>As far as I know, the generally accepted practice of adding third party code like <a href="https://github.com/mbostock/d3" rel="nofollow">d3</a> is to add it as a git submodule. This reduces the size of the main repo, but I would imagine having d3 (for example) code in the main repo would help debug the cases when d3 changes breaking some code that uses it.</p>
  
  <p>Are there any reasons why I should not just check out the latest version, develop my code using it, and push it to my own repository?</p>