[Make] - don't install .git directories
Merge pull request #5243 from Memphiz/dontinstallgit

[Make] - don't install .git directories