Whether on-premise or in the cloud, data can be vulnerable to accidental deletion, malware, corruption, and other security threats. As a cloud-based service, GitHub is not immune to these threats. Securing data in the cloud will always be a shared responsibility between you and your cloud provider.
Is GitHub safe and secure?
If you don’t do things the right way and leave yourself exposed, then using GitHub can be dangerous. Overall GitHub is perfectly secure and when used correctly is an incredibly powerful tool. Version control can be the make or break of software projects so make sure you are following Git best practices.
Why is GitHub not secure?
Developers frequently re-use and push code developed for the company to open source or other public repositories. This can give hackers a way to access your protected infrastructure. GitHub doesn’t have code classification. To do security effectively, you have to determine the signal vs noise.