When reading git status for shell prompt, redirect stderr output to /dev/null. This avoids repeatedly printed errors if some files in the working tree are not accessible.