title: git: symlink/reference to a file in an external repository
body: <p>Is it possible in git to have a "link" to a particular file in a git repo? Like what git submodules do for folders but my question is about a particular file, not a full directory:</p>
  
  <pre><code>my-project/
      class1.java
      class2.java
      logback.xml (link to a particular file, say https://github.com/theHilikus/JRoboCom/blob/master/jrobocom-core/src/main/resources/logback.xml)
  </code></pre>
  
  <p>So as can be seen, in this case it doesn't make sense to have a whole submodule folder, it is just one file.<br>
  I'm ok with the link being locked to a particular commit but it would be better if it's moving as it changes in its own project's lifecycle</p>
  
  <p>As a note, this has nothing to do with file-system's symbolic links; I'm talking about a reference to a file in another project, repo, branch, or anything. it's ok if the content of the file is a duplicate and not a file-system symlink</p>