use git ls-remote to fetch refs
Merge pull request #2 from yields/ls-remote

use git ls-remote to fetch refs