use git ls-remote to fetch refs

thoughts ?

cc @matthewmueller