Worth keeping in mind here is that Ghostery is proprietary, while uBlock is free software. You should never trust proprietary extensions with your data.
There is an argument to be made about motives with free vs non-free software, but open vs closed source is for most people much less important.
However, the parent comment is a bit misplaced since Ghostery appears to be released under the Mozilla Public License 2.0.
https://github.com/ghostery/ghostery-extension/blob/master/L...