how to git init with main code example
Example 1: git init
cd /path/to/my/codebase
git init
git add .
git commit -m "my comment"
Example 2: github git init main
$ git init -b main
Example 3: github git init main
$ git remote add origin <REMOTE_URL>
# Sets the new remote
$ git remote -v
# Verifies the new remote URL