You're misunderstanding this. They added GitLab and Bitbucket in Xcode 10, but Xcode 9 already had GitHub integration. These two are being added in addition to GitHub.
I don't know if i'd go so far as to call it a tacit endorsement of gitlab by Apple, but it does have an air of opportunism.