Store Screenshots of Web App in Git / tutorial / free

Have you ever had a change break your site? Even when the tests pass?
Testing functionality is hard. Testing UI is even harder.
What if every time you commit, you got a visual diff of every web page that changed? It is surprisingly easy to do.