How to add more users to one project?

Hello there,
Me and my friends want to work on one project at the same time, but we can’t figure out how we can do that. Is Perforce etc. only way? I know something like that is in UE already, but you have to be on same LAN, or you don’t have to? In UE it is called Multi-User Editing.
Thank you for any answers.