Updated handling for git prompt on OS X