All of those features are supported by GitHub in some form, e.g: Organizations can now belong to Enterprises.
tree based directory structure stuff is available on gitlab’s free tier — so are all the permissions inheritance for groups etc.
so, while you’re technically right, these features are apparently paywalled heavily on github.
ime you get more features on gitlab for the same price (or less). i switched fully two years ago and im not going back.
It's not the same, at all.
SSO, access tokens, secrets are all bound to the Organization level - if you work on multiple Organizations you have to log in separately... You also cannot have nested Organizations.