Create __git_ps1 function if it doesn't exist