无法安装tensorflow go软件包(RPC失败; curl 18传输关闭,剩余未完成的读取数据)

I am executing the following command to load the tensorflow package for Go:

go get -d github.com/tensorflow/tensorflow/tensorflow/go

It does not download the source code. I am getting the following error message.

# cd .; git clone https://github.com/tensorflow/tensorflow /Users/tanverhasan/go/src/github.com/tensorflow/tensorflow
Cloning into '/Users/tanverhasan/go/src/github.com/tensorflow/tensorflow'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
package github.com/tensorflow/tensorflow/tensorflow/go: exit status 128

I'm not sure if this is something related to Go or git, however, I can successfully load any other package using go get command.