Can I add a file by putting the symbolic link in the git repository?
<p>Is there a way to push a file external to the git repository by putting a symbolic link.</p>

<p>I want for instance to push the file <code>/root/my_file</code> and have created a symbolic link <code>my_symbolic_link</code> in the git repository.</p>

<pre><code># ls -lA                                                                                                                    
drwxr-xr-x 7 root root 4096 Oct  8 07:55 .git/
lrwxrwxrwx 1 root root   26 Oct  8 7:58 my_symbolic_link -&gt; /root/my_file
</code></pre>