Handle polling the upstream project repository for changes, and also check commit ids for insertions for validity