getting commits