Do not run `git init` in dummy application
#28059

y-yagi wants to merge y-yagi:do_not_run_git_init_inside_test_dummy into rails:master

We do not currently have an analysis of these two commits