Better Online Collaboration

I would like a better online Collaboration like the online coding website Replit. One of the biggest issues with the system is that when one person is editing something no one else can edit, the second thing is that if I get invited to a project I don't get an email but even worse if I get invited and join a project I can't add libraries or change the name. I can't publish it and I think it would be good to update the system. maybe even with a permission changer like someone could be admin or manager. @giles please respond