It is not recommended to copy all files. For example, the node_modules folder is not required to be copied because you can run rpm install.
By using an SCM system like git you can not only share your code, you can also go a step back if you did something wrong.
As a developer, you should learn how to use an SCM. You are lost without it trust me!
And with tools like GitKraken (I recommend this software highly!) you should have any problems with git