Can't shallow clone repo's on gitlab.com
# git clone -b v2.6.12 --depth 1 https://gitlab.com/gitlab-org/gitlab-shell.git
Not inside Git work tree
Cloning into 'gitlab-shell'...
error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly