converted zsh git prompt to python3