Apple probably planned that long before the announcement of Microsoft's acquisition was made because a lot of customers requested gitlab/bitbucket integration after they added the github integration. But they could only tell that they public after they released xcode 10 at the WWDC yesterday. It was just unfortunate that the WWDC and the announcement were within ~24h.