rev-list: add --branches, --tags and --remotes