[CHEF-5084] Fix for git HWRP that adds option to specify revision type

You can now specify the `git` resource's revision (or aliases [branch, reference]) as either a tag or a branch. The other option is `:both`, which is default, and does not restrict the `git ls-remote` command to heads or tags.