Update prompt git status check

git 1.8.1 gives a different status message when there's nothing to commit. Checking for a line beginning with 'nothing' works for old version and new version, and hopefully prepares the statement for changes in the future.