Thread:User:*Surak*/Download from Git/How to set extension version to MW version?

How do I find the dependencies between core and extensions? If e.g. I choose REL1_19 for MediaWiki core, how do I set the extension to the same level? I did not find any reagrding branches or tags, neither in 'extensions', nor within single submodules.