Never do this.
Git is all about tracking changes over time which is meaningless with binary files. They are bloat for your repo, slowing down operations. Depending on the repo, they are likely to change from CI with every commit. That last one means that every commit turns into 2 commits btw. They are can ruin diffs. I could go on for a long time here.
There are basically 0 upsides. Use an artifact repository instead!
Interesting. When I first viewed this post, there were 3 downvotes and only 2 upvotes. Is this not the type of content that people want to see here?
I’ll check back again later and see if/how those numbers change.