General Motors on Tuesday said it has agreed with labour unions at subsidiary Adam Opel AG to try to keep its main German plants operating beyond 2010 and avoid forced layoffs, Dow Jones reported.