https://github.com/kbjr/Git.php
require_once('Git.php');
$repo = Git::open('/path/to/repo'); // -or- Git::create('/path/to/repo')
$repo->add('.');
$repo->commit('Some commit message');
$repo->push('origin', 'master');
http://pioupioum.fr/developpement/git-alias-productivite.html
peut être utile...