3 ms·Git Informed When Your Site Is Hacked4 points by sant0sk1 17y agokhandekars 17y agoAlso, it is good to use --git-dir to keep the .git directory outside webroot.