title: How to use submodules publicly, but symlinks to a single clone locally?
body: <p>I'm having my first Git Submodule experience.</p>
  
  <p>I have some projects that depend on the same subproject.  I keep these projects in sync, so I'm using the <a href="https://stackoverflow.com/questions/1777854/git-submodules-specify-a-branch-tag">"submodule branch" feature</a> (e.g. <code>git submodule add -b master [URL]</code>).</p>
  
  <p>While I'd like the public GitHub repositories to convey the submodule relationship, in my own workflow I'd really just like to have one clone of the shared codebase on my disk.  I thought I could just set up the submodules, and then do a switcheroo with a symbolic link.  But when I do, I get this:</p>
  
  <pre><code>On branch master
  Changes not staged for commit:
   (use "git add &lt;file&gt;..." to update what will be committed)
   (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)
  
      typechange: draem
  </code></pre>
  
  <p>So Git apparently sees the fact that it's a symbolic link, instead of following through to the directory.</p>
  
  <p>Is there any workflow where I can appear to be working with submodules, but really only have one clone on my local filesystem?</p>