Limit number of latest commits