Can Github (and Github Enterprise) do this automatically? Basically, like most problems, the issue is that it interferes with a very common interface rather then being a real problem.
If I could have PRs by default fold vendor/ folders for me, then yeah - problem solved more or less.