prepare_git_checkouts with opts hash