I tried to install Ruby 2.0. My command line urped and now looks like the following:
-bash: __git_ps1: command not found [11:58:28][whatever@whatever ~]$ >
I solved it simply using
sudo apt install git
This appears because git is not installed and therefore the environment variable is not defined.