View the original community article here
Last tested: Aug 6, 2018
Looker performs garbage collection only on startup, and only if garbage collection hasn't been done on the given repo for over 30 days.
It includes both prod and dev folders. It's smart enough to perform this in the shared filesystem in the case of a cluster.