I wrote an article for Baeldung on how to use gzip and gunzip for compressing and uncompressing files from the Linux command line. It included using gzip with tar and speeding up archiving with pigz, a parallel implementation of gzip.
The article is available here.