title: How can I add a folder outside of my working directory to the Git repository?
body: <p>I have the directory structure like this: </p>
  
  <pre><code>main
  |-- folderA
  |-- folderB
        |
        |--- .git
  </code></pre>
  
  <p>Unfortunately, I decided I need to track files in folderA under the same repository as folderB.</p>
  
  <p>Is there other ways to do this than creating symbolic links  in folderB?</p>