Clone/fetch branch specified in $REV or as argument.
Compare epoch in check_updates.