[fix] check-format.sh script to also work with git See merge request !88
mentioned in issue #33 (closed)