Each demo should have its own .gitignore file. Many already do, but not all. And these .gitignore files need to ignore all build artifacts.