Revert "Remove rsync exclusion of .git directory"

This reverts commit 303329f5f51a7c1337c6385426ba725f2ffcdd8d.