version_compare() did not work correctly.
Was introduced in 26ba2573 by @goude,
none of the comparisons were adjusted despite
the return values being different from the replaced function.
Merge pull request #43 from jjlin/fix-remote-url

Fix remote URL handling.
Avoid --short option when calling symbolic-ref, it's fairly new.