Does running
git clone --depth 1 https://github.com/discourse/discourse.git /tmp/discourse
works on this server?