If remote was the best (most profitable) way to do things, companies would've figured this out well before COVID.
Remote collaboration tools like GH have been crucial for remote work for software developers, but that's a really small slice of the pie.