Microsoft aren't exactly known for privacy, given how much data they collect continuously from Windows users (e.g. details on every application you launch, hard-drive wide program sweeps, etc). Also with Github specifically they used everyone's code to fuel their machine learning product without asking permission.