UR T
How to have version control on apex?
Since 20.1 you can export the app as a zip, this way every component will have a single file (i.e. authentication will be a single file, another one for authorizations). So when you export the zip and unzip, only the files that were changed will be different, this way you can use git to control version changes