if commitDate in commitsByDay.keys():
        commitsByDay[commitDate] += 1
    else:
        commitsByDay[commitDate] = 1