You can find stuff like this for zsh and bash:
But this is NOT that.
I’m not a heavy developer, i just wanted something quick and easy. Enter my “ghetto bash-prompt git-status”
This will NOT change your existing prompt, it simply executes as the last instruction before your prompt is displayed.
If you want something better, look into: