Check for git's helper functions before using them in the prompt.
Update some style issues in vim files.