Two offices, two servers(?), same data?

I did this forever ago with Perforce. Everybody had a GUI app to view the folder structure. Had to right-click and lock/checkout files to edit files. Then after committing your changes, the file would be unlocked. Everybody would see the lock icon on the file and who had it open. Two people couldn’t be editing the file at the same time.

There’s probably a lot of other options, but I’m not going down that rabbit hole for something I don’t need.