add commitsList in mainGui