i initialized git outside project fodler one step how to fix that code example
Example: git init
cd /path/to/my/codebase
git init
git add .
git commit -m "my comment"
cd /path/to/my/codebase
git init
git add .
git commit -m "my comment"