bash prompt: use bash builtins to check for unborn branch for dirty state