Hard links can be very useful, but also nasty. I used them
to my advantage when I was hosting the same files on multiple
domains, but they bit me back because Git does not support them.
First, how to make hard links if there are the same files
with same names in the same directory structure?
And in order to revert it, following script might be useful: