Set git prompt using precmd_functions'