Edit your git config to an add an entry for gui in the alias section
nano ~/.gitconfig
[alias]
gui = !sh -c ‘/usr/local/git/libexec/git-core/git-gui’
Edit 2020
It looks like the path in the original answer is now obsolete. Updated instructions:
[alias]
gui = !sh -c ‘/usr/local/opt/git/bin/git gui’