output git log to diary.txt