a basic function to pull git logs from a given repo and HEAD