Use prepare script for updating git repos

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>