In order to print VCS related information, vcprompt should be installed and available on PATH (before this rc file is sourced).
Adding the following lines to the end of your ~/.bashrc
file should modify the bash prompt each time.
source ~/.colored_bash_prompt.bashrc
vcprompt can be obtained from https://formulae.brew.sh/formula/vcprompt.