getting commits locally