Currently, LinkMode assumes `main` as the default branch for AzDO. Experiment and see if it's possible to determine that programmatically.