1.$ git clone https://github.com/php/php-src 2. 3.Cloning into 'php-src'... 4.remote: Counting objects: 645461, done. 5.remote: Total 645461 (delta 0), reused 0 (delta 0), pack-reused 645461 6.Receiving objects: 100% (645461/645461), 248.33 MiB | 9.16 MiB/s, done. 7.Resolving deltas: 100% (504952/504952), done. 8.Checking connectivity... done. PHP7.0.1 1.$ cd php-src 2.$ git checkout refs/tags/php