There is a big problem!
It doesn't work but in console (tar -xvzf packagename.tar.gz) the file was unpacked!
$ php -r "new \PharData('d:/Downloads/commithook-master.tar.gz');"
PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: "D:\Downloads\commithook-master.tar.gz" is a corrupted tar file (checksum mismatch of file "52 comment=4d08b1e311f074f7281c0f1c21912776ac51394b
")' in Command line code:1
Stack trace:
#0 Command line code(1): PharData->__construct('d:/Downloads/co...')
#1 {main}
thrown in Command line code on line 1