I don't know any other solution but adding them one by one to .gitignore.
A crude way to test is to grep the file command's output:
find . \( ! -regex '.*/\..*' \) -type f | xargs -n 1 file | egrep "ASCII|text"
EDIT
Why don't you simply name you executable hello.bin?