Hide files in PRs
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=508422)
</details>
<!--IssueSummary end-->
### Proposal
GitLab limits the amount of changed files shown in a PR:

When a PR contains files that don't need to be reviewed, **this causes relevant files to not be shown**. Users then have several options, none of which are practical:
* Use `git diff` manually
* Download the 'plain diff' that GitLab offers
* Download the 'patches' that GitLab offers
As a solution, I think it should be possible to **hide certain files** - 'making way' for relevant files.
Note that this is NOT a duplicate of https://gitlab.com/gitlab-org/gitlab/-/issues/17647; collapsed files still count towards the max amount of files shown.
Files to hide could be specified using `.gitattributes` (as is the case for collapsing).
Although the contents of hidden files may not be relevant, it should be evident that there are hidden files, to prevent 'XZ Utils'-like ordeals (injecting code in hidden binaries).
<!-- Label reminders
Use the following resources to find the appropriate labels:
- Use only one tier label choosing the lowest tier this is intended for
- https://gitlab.com/gitlab-org/gitlab/-/labels
- https://about.gitlab.com/handbook/product/categories/features/
-->
issue