As far as Visual Studio Code goes, I've not really used it much but it makes sense since it's Microsoft's free editor, so you will be a product and you will be marketed to. I do use Visual Studio though, and it does show Copilot in the UI by default, but there is an option to "hide Copilot" from the UI which does what is advertised. I will probably remove my important projects from Github though, but mainly so they are not used for LLM training than anything else.