When updating packages from doom-emacs, it figured out many master -> main transitions (semi-)automatically. I don't know whether that was straight alone or doom emacs, though.
it could be the built-in vc.el too, because I can imagine straight depending on that, but I haven't checked.