git-text can help you to avoid from committing non-text files to git repo
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).