title: Git : How to Create local repo with symbolic links to the Git main repo
body: <p>I would like to create a Git repo in which the users can only pull the files from the Git repository and can never push into it. Since this data cloned into the remote repo needed not be modified, I am thinking of creating soft links to the main repo to save space (data will be duplicated among many users).</p>
  
  <p>Can i create soft links in my local repo to the files in the remote repo when i do a Git clone?</p>
  
  <p>e.g. with some variation on <code>git clone &lt;path&gt;/gitrepo .</code></p>
  
  <p>... where <code>gitrepo</code> is the main dir, and the command should create my local git repo with symbolic links pointing to the gitrepo. The version control should be maintained. Until i do a git pull, my local repo should be maintained, even if the main gitrepo has moved ahead. A git pull should  recreate the symbolic links to point to the latest of the main repo.</p>
  
  <p>I am seeking to replace <code>ln -s</code> with a "version controlled <code>ln -s</code>"</p>
  
  <p>Thanks,
  RB</p>