Improve performance for maximum file size push rule check
Summary
- The current implementation for enforcing maximum file size push requires a complete graph walk
- https://gitlab.com/gitlab-org/gitlab/-/blob/798e59dea3d9049475ba93a68fffc991b93da5cb/lib/gitlab/checks/file_size_check/any_oversized_blobs.rb#L14
- This can be slow for a large repository
Improvements
- We could use a efficient method which considers only the quarantine directory first