BZ-1085328: add compression support for git external upload