Source control for SFTP


Any recommendations on a good way do a centralized version control to files on an Application?
I make changes directly to the code on files on the server via FTP, but need a way to track changes and diffs…
any suggestions?


Cloudways has integration with Git built in.