If they did not commit all the important files and your CI system didn't catch that, that's definitely the fault of your CI system, not global gitignore.
Shocking I know /s.
But not everyone on here is part of a 20 man SV tech startup making the next social media for beagles and deploying 50 times a day...
lmao!