revised git commit code