My friend and I, are going to work on a paper. I'm using overleaf right now. However, due to some limitation, we prefer to switch to Texstudio. The problem is how to sync the .tex file in my computer with his computer. Overleafe has an online edditing option which I can see what he is typing live, Surely, it is not possible in Texstudio. What I'm thinking of is to create a Dropbox account, and share the same *.tex with my friend and we both work on the same file. I'm not sure what will happen in case we both compile at the same time, although this is rare to happen. I think I need to integrate a git with it to track changes. Please let me know if there is a simpler solution to handle this situation.
Thanks in advance.