bug gitclass.commit() function