It fits okay, it doesn't fit perfectly! Unless of course the Chinese manufacturer are taking shortcuts ("boss, we've only got W21.8 taps and dies not G5/8 … [BOSS] close enough, get it done!"), that wouldn't be out the ordinary for China!
The best document I ever found on the subject was
https://www.ftipv.com/bs341-british-standard-cylinder-valve-outlets-connectors/. WARNING: This document needs some careful interpretation, it's not for the bodger. G5/8 is No.6 in BS341, W21.8 is No.8. BS341 is interesting also because it's the only description of the dreaded "POL" thread I've come across (No.4, but it doesn't mention "POL", it
is G5/8, but left-hand).
You can even get W21.8 to G5/8 adapters (from China!):
https://www.ebay.co.uk/itm/Stainles...hash=item4661bb43a6:m:mw5h3W6MAcn_S3_QyPFDUVA.
NOTE: Both W21.8 and G5/8 (BSP) are Whitworth thread forms, which helps when mashing them together.