There was that. I do not know.
find `pwd` | while read line; do (FILE=$(file $line); (echo $FILE | grep -E 'text$' > /dev/null) && (echo $FILE | grep -v '.git' > /dev/null) && zopfli $line); done
I believe there is a better way, so please teach me.
2020-08-31 Addendum
ʻEcho $ FILE | grep ~` I thought I couldn't put it together.
find `pwd` | while read line; do (FILE=$(file $line); (echo $FILE | grep -E 'text$' | grep -v '.git' > /dev/null) && echo $line); done