Depends on the scenario really. If you want it version controlled, yeah sure. But there are other use cases that don't need that. You just want a "publishing target" that is low cost and minimal complexity. Plus GitHub/GitLab don't have the same number of availability-9's that Azure Blob Storage or AWS S3 can have.