Ensure that no .gitignore file in the tree contains patterns matching files tracked by Git by adding a simple script that detects such situations and running that script as part of the "misc" job in the "precheck" stage of every GitLab CI pipeline.