push repo on github code example
Example 1: how to push repository to github
$ git init -b main
Example 2: how to push repository to github
$ git push origin main
# Pushes the changes in your local repository up to the remote repository you specified as the origin