t6018: add tests for rev-list's --branches and --tags