trying to get the git status to work across various git versions
removing all the stuff I don't use