Actually, I don't think ls-remote takes a --progress flag. So remove this entirely, ad don't refactor out "runGitProcess" and use a CloneRunnable. That's intended specifically for sniffing progress output for git clone.

(See https://www.kernel.org/pub/software/scm/git/docs/git-ls-remote.html)