Another example is the regulatory requirement for data sovereignty to ensure data remains under the data protection laws of the organisation's country.
With hosted Github you have no choice - data will presumably live on mainland US. With Azure/AWS/whatever, you can host your data in the most suitable location (always worth checking the contracts though)