Code has been developed and deployed from environments for many years without any source control. Now a source control solution is needed. I am thinking of using Git. I know the hooks have to be written and I am fine with that. But where do we start?
If you are using recent (2016.2+) versions of Caché, consider using Atelier as IDE. Atelier is based on Eclipse, so you can use any existing source control plugins for Eclipse.
If your IDE is Studio the good start is
Read "Using Studio Source Control Hooks" http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GSTD_Hooks
Examine sample class Studio.SourceControl.Example in SAMPLES
namespace and adjust it for your needs.
Google and search on community.intersystems.com. It is very popular
topic.