Will parse the commit message and will fail if it doesn't follow the convention: Conventional Commits v1.0.0
brew install ctrlaltdev/tap/ccc
or
brew tap ctrlaltdev/tap
brew install ccc
From within the repository you want to install the hook in:
ccc -init
echo ccc -f $@ >> .git/hooks/commit-msg
chmod a+x .git/hooks/commit-msg