Get inspiration from [olivierverdier/zsh-git-prompt](/olivierverdier/zsh-git-prompt) for Git plugin output. [magicmonty/bash-git-prompt](/magicmonty/bash-git-prompt) (bash port) Also check the [Haskell implementation](/olivierverdier/zsh-git-prompt/tree/master/src) of `git status` parsing.