Cleaning up merged git branches: a one-liner from the CIA’s leaked dev docs

How to delete all merged git branches locally with a single command. This one-liner has been in my zshrc since 2017 — I found it buried in the CIA's Vault7 leaked developer docs.