use setup_git_directory() in test-* programs