Remember to load compat/git-prompt.sh if needed