There was an incident in gitlab when they accidentally deleted their database and when they recovered it they lost some recent data. This can happen due to human error. This is not new and you are always open to vulnerability if you are hosting your codebase on third party. If they get hacked your codebase