how to push your project into new git repo code example
Example 1: git push existing code to new repository
git remote add origin <remote repository URL>
Example 2: push a project to an existing repoin github using git
$ git init -b main
git remote add origin <remote repository URL>
$ git init -b main