Move git-prompt.sh into library.