$ git commit -m "$(w3m whatthecommit.com | head -n 1)"
— by Jab2870
on Jan. 5, 2018, 4:55 p.m.
This will commit a message pulled from What the Commit.
-m allows you to provide the commit message without entering your editor
w3m is a terminal based web browser. We basically use it to strip out all of the html tags
head -n 1 will grab only the first line
head -n 1
This requires you to have w3m installed