pihole checkout master might do the trick. Run that after updating dnsmasq though.
pihole checkout master