Improve doDailyGit method structure.