Shorter bash prompt

Hide parts of the bash prompt for root user and master branch to avoid confusion for students.