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