move git clone from daemon to client

Fixes #2715

I know it doesn't respect go get format, but I added support for ssh format, git@github.com:.... to allow the use of ssh keys, and so it's easily scriptable.