title: Git - how to handle symlinks
body: <p>What is the correct way to handle symlinks in git?</p>
  
  <p>I have the following structure:</p>
  
  <pre><code>Vendors
    Module A
    Module B
    Module C
  App
   Code
     Modules
       Core Module 1
       Core Module 2
       Module A (symlinked to vendors)
       Module B (symlinked to vendors)
       Module C (symlinked to vendors)
  </code></pre>
  
  <p>There is a a main App directory which contains all of the core code in the application.  Additionally there is a vendor directory that contains modules which get symlinked into the main app directory and therefore integrated.</p>
  
  <p>Importantly, both the vendor directory and the main app directory are both versioned in the same repository.  </p>
  
  <p>Therefore, should i let git keep storing the symlinks, or find a way to have it ignore symlinks?</p>