Enable custom __GIT_PROMPT_DIR as an env var

I'd like to directly point bash to where I checked out the source code.
With this change I can customize at least the base directory with an environment variable while the default value is still there.