public static function add_to_repo($repository_path, $files = null) { $repo = new pakeGit($repository_path); $repo->add($files); return $repo; }