.git-sh-promptが転がってたのでこれを~にコピーしてですね
iTerm2でPrefrerences-Profiles-ColorsでColor Presets...をPastel (Dark Background)にして、~/.zshrcを
source ~/.git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWUPSTREAM="auto"
NEWLINE=$'\n'
setopt PROMPT_SUBST
PS1='%F{green}%n%f@%F{blue}%m%f:%~ $(__git_ps1)${NEWLINE}$ '
にしてみた(bashとおんなじにしちゃった)
NEWLINE=$'\n'
のあたりがぐぬぬ