fix printing the git status