Added __git_ps1 support for MacOS.

To make it work, remember to run the curl command.
(Also, colored Debian logo doesn't work in MacOS. No fix intended.)