I do my development locally on a Linux machine running apache. Once the code is ready, I upload it to my hosting service provider on their cloud, using Midnight Commader and the built-in FTP functionality.

Sometimes I tweak the code directly on the hosting platform, without updating it on my local machine

What I need is a way to do a directory diff comparison, and compare what's on my local machine to what I have uploaded (and maybe modified) on the hosting service.

Is there some way I can do a diff comparison like this please, as I need to make sure what's on my localhost is up to date with what's on the hosting machine servers.