config: run setup_git_directory_gently() sooner