Learning to commit codes on github