General instructions on the g-2 git repository usage are given in https://cdcvs.fnal.gov/redmine/projects/gm2cdr/wiki
Here we give the information specific to gm2optics project only.
To clone the gm2optics repository, issue the following command (in some empty directory...)
git clone ssh://email@example.com/cvs/projects/gm2optics-xxx
where xxx is m1m3, m2m3, dr, m4m5 or p1stubm1