Collaborating on code used to be hard. Then Git made branching and merging easy, and GitHub took care of the rest.
Pair programming and continuous integration can go hand-in-hand. Pushing to main multiple times a day is hard in isolation, ...