Cannot clone from git.gnome.org

I am working on an Ubuntu OS.
I have tried cloning several repositories from git.gnome.org such as this –

git clone git://git.gnome.org/newcomers-tutorial
Cloning into 'newcomers-tutorial'...
fatal: unable to connect to git.gnome.org:
git.gnome.org[0: 209.132.180.184]: errno=Connection timed out

And even tried with http:// –

git clone http://git.gnome.org/newcomers-tutorial
Cloning into 'newcomers-tutorial'...
fatal: http://git.gnome.org/newcomers-tutorial/info/refs not found: did you run git update-server-info on the server?

whereas if i clone any other repo from github it is successfully cloned.
Such as –

git clone https://github.com/arduino/Arduino.git
Cloning into 'Arduino'...
remote: Counting objects: 53558, done.
remote: Compressing objects: 100% (617/617), done.
^Cceiving objects: 11% (5996/53558), 23.67 MiB | 1.41 MiB/s

I am working behind a proxy and already have set it by –

git config --global http.proxy $http_proxy

Any help?

  • jhbuild repository cloning failed
  • git cloning gnome core suite
  • Prevent git from popping up gnome password box
  • git push error Gtk
  • How to use git with gnome-keyring integration
  • One Solution collect form web for “Cannot clone from git.gnome.org”

    The git protocol uses a special port (9418) which, is you are working behind a proxy, is likely to be blocked.

    As for http cloning, the web page of the newcomers-tutorial repo mentions an https url, not an http one:

    git clone https://git.gnome.org/browse/newcomers-tutorial
    

    Make sure to set your https proxy as well first:

    git config --global https.proxy $http_proxy
    
    Git Baby is a git and github fan, let's start git clone.