Code QuizBeginner

Initialize a Local Git Repo

Spot the mistake in a script that tries to create a new local Git repository.

Codebash
mkdir my-project
cd my-project
git initialize
echo "# My Project" > README.md

What is the bug in this script that prevents a new Git repository from being created?