The best and easiest way of keeping your machine secure, is to constantly upgrade all of its components. Not only a few selected apps like Chrome, but all components, including the git command, the SSL/TLS libraries and so on.
I’ve written a list of commands to do this on the different platforms I use (plus Windows).
http://skybert.net/security/keep-your-os-secure-and-up-to-date/
#security #unix #linux #macos #windows