I have one instance (virtual machine linux google cloud console) and inside it in "var/www/" two folders on each one website. (for example foler1 and folder2) With ssh I downloaded a copy of one of those folders (folder1) to my local machine. The folder is already a git repository, now I want to be able to modify in local and then to upload the changes to the instance (vm) -> /var/www/folder1.
In fact, I need to know the workflow using git locally and upload my changes to a virtual machine (google cloud) in a specific folder inside "/var/www/" I've been really researching this process but I can't find anything in the tutorials.