':calls: `GET /repos/:owner/:repo/stats/commit_activity <developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day>`_
:rtype: None or list of :class:`github.StatsCommitActivity.StatsCommitActivity`'

def get_stats_commit_activity(self):

    (headers, data) = self._requester.requestJsonAndCheck('GET', (self.url + '/stats/commit_activity'))
    if (data == {}):
        return None
    else:
        return [github.StatsCommitActivity.StatsCommitActivity(self._requester, headers, attributes, completed=True) for attributes in data]
