adds git.exec and its tests