When trying to clone ANY repository via https from github, we get: git clone https://github.com/rails/rails.git Cloning into rails... remote HEAD refers to nonexistent ref, unable to checkout Our server is behind a proxy. We have defined http_proxy and https_proxy appropriately. All other functions are working. git version is 1.7.5.4 Server is Ubuntu Server 11.04. Note that since this happens with
![git behind proxy: remote HEAD refers to nonexistent ref, unable to checkout](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)