Do c++ files get synced on Multi-User Editing?

My friend and I are working together for the first time in unreal engine 5 and when one person changes something in the c++ files, the other does not see it even after updates, compilations and saves. Is it possible to synchronize changes in c++ files? We are working in visual studio code.