OS X 10.11.3 installation of cocoapods

  question, ruby

appledeMacBook-Pro-3:~ apple$ pod setup
Setting up CocoaPods master repo
/The following is the error code/
[! ] /usr/bin/git clonehttps://github.com/CocoaPods/Specs.gitmaster

Cloning into ‘master’ …
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

The problem of network speed leads to