Cloud9 is a good web-based IDE for team-based development.
However, I think it's worth noting that working on the same file with multiple developers is just one workflow. The reason that Git is still the predominant workflow instead of collaborative IDEs is that there is a benefit in working on your own version of a file, and only merging when necessary.