correct content of git files on deploy