git-ls-remote.sh: use the $( ... ) construct for command substitution