Because there isn't really a good name. In FOSS circles the name "code forge" is often used, and then OP might say "git-based code forge" instead. But both Github and Gitlab don't consider themself (and aren't) code forges. The term doesn't carry the load of the product positioning. So "hosting provider for git" is a pretty good description imho.