I want to "reference" (don't know if this is the correct term for that) files from one directory in the repository to another (maybe even across repositories/submodules). When I commit changes to any of that files, it should respect the internal linkage and update the internal original file (an update to all other linked files will then occur after the next checkout.
Example:
install/Documentation/Manual.pdf
shall be the "original" file and I want it to be copied to several places, e.g.:
windows10/doc/Manual.pdf
and
windows11/doc/Manual.pdf
Actually it should work like symbolic or hard links inside the repository/repositories/submodules but outside (that means: after making a clone and checking it out) they should become regular files.
And it should be possible to put them all around the directory structure and not be limited to one (sub-)directory (as it is in a submodule).
Is that somehow possible? If yes, how?