Theses are things that you run once. The log format and PS1 are my personal preferences so may need changing up for your needs.
git config --global color.ui true
git config --global format.pretty "%C(white dim) %h %C(yellow) %ar %C(cyan) %an %Creset %s"