Canonical git usage in the __git_prompt function without sed.