mapping users 10 last commits to array