Sorry about the title, I didn't know how to write it - It's kind of confusing.
Ok, I am using my Raspberry Pi (Debian) and I store code on this server in which people have access to. My problem at the moment is, I can open the file using SSH and then compile and run the code on the Pi but this is very slow.
What I want to do: I want it so I can make changes of the file(s) on my computer and this updates with the files on the server and I can then compile the code on my machine AND I do not have to keep pushing the files back onto the file server.
I hope this makes sense. Any ideas?