Вы также можете добавить следующую строку в свой .bashrc:
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\`__git_ps1`\$ '