Ignore .git directory at build time