https://github.com/pear/versioncontrol_git looks like this is a git package for wrapping local git Can look at it for a comparison