I'm hoping for some pointers to improve my development workflow. I'm a solo developer currently running a number of sites on a dedicated Centos server and up until now I've just been developing locally on my machine and uploading to the server using FTP. I want to improve this setup by introducing Git for version control and by having a staging process, from local to staging to production.
I've installed Git on my production server and I've started creating repositories for each of my live sites (with .git inside the same directory as the live project). I still need to learn how to use Git properly, but is it advisable to have this type of setup?
In terms of having a staging site for each project, I am thinking of just starting with subdomains for each live site, still residing on the same server.
At a basic level, does this type of setup make sense? Thanks for any pointers!