Fixed getting commits