One of the nicest additions to the GitHub Marketplace is a bot that will optimise your images automatically: https://github.com/marketplace/imgbot
(No connection to me - just think it's a great idea, and totally free.)
(No connection to me - just think it's a great idea, and totally free.)