Implemented a function that allows us to retrieve commits from a date