Changed how to get git dirty info for newer version of git
update