Feature request: placeholders for files?

It’d be nice if inside a .gitignore file I could say something like:

*.psd => ./placeholder.jpg

And that would replace all 2k-4k-8k pictures with another low res picture/file during pushing, but with the same exact original name, so that project won’t break.