change git to git bin path

Changes references to git in the check script to the git bin path so as to match how other parts of GitLab reference the git binary.

Changes untested, please test before merge.