Remove .git and .gitignore in build