Not entirely true, I’m running Ubuntu on MBP 2017 (non-Touchbar). WiFi works out of the box, only touchbar models have problems. They are using another antenna. Only thing that doesn’t work out of the box are FaceTime webcam and sound. There are drivers for those. One thing to note tho, Intel MBP especially those thin ones can get very hot and fans might blast.
You can just connect a (local) Git repo to it and store your compose files over there. There should be even an auto-sync (if you’re into that kind of thing).