brew install imagemagick ffmpeg
sudo gem install lolcommits
Go to the repo where you'd like to install the hook
lolcommits --enable --delay=2 --animate=4 --fork
lolcommits --plugin slack --config
enabled: true
access_token: <your slack token>
channels: C37P3RA2J
Finally you could add it as default (you'll still need to configure slack plugin tho')
https://github.com/mroth/lolcommits/wiki/Enabling-Lolcommits-for-all-your-Git-Repositories