I work for a company that wants me to update their Wordpress site. In the past, the developers seem to just change the files locally then upload them to the dev server via FTP. So, I copied the site's theme files to my computer, made my changes, complied the css (they're using Sass), then upload those changed files back to the dev server. But, none of this seems efficient to me.
I'm not familiar with this so I'm a bit confused on how I should go about this. The sites I have worked on in the past have been pretty low scale. For my own site, because it was static, I made my changes locally, used Gulp for the Sass and other tasks and pushed it to GitHub. And since I hosted it on GitHub, that was it.
But, right now, I'm doing a bit of "cowboy coding" and that isn't the right way. So, I would love if someone could give some suggestions on an efficient way to go about this? Thanks in advance!