Only git commit when there were changes