On git 2.9.3, checking if git clone is clean fails because the output message of git status has changed from "nothing to commit, working directory clean" to "nothing to commit, working tree clean".
Migrated from LUCENE-7447 by Shalin Shekhar Mangar (@shalinmangar)