Implemented method for getting the 10 latest commits