The game studios under Xbox run quite independently with the most extreme example being Mojang with Minecraft which still releases all their games on Playstation/Nintendo consoles too. But the other studios are also very independent based on all the interviews (though they don't in general release their games on Playstation or Switch)
As I understand Github is also run very independently from Microsoft in general.