add fixes to the function to get commits from specifict repo