Moving my source files from one machine to another

I have my source files in my local system, i want to move all my codes to a same setup in my server. Is there a way to do this other than creating all the files manually and copy/pasting the code from my local to server.

I am using vue.js, vue-cli3 and GIT.

Please help