The following command will update the Git’s global configuration to set the color.ui to true.

$ git config --global color.ui true