git set remote repo and push code example
Example 1: git remote add
git remote add origin https://github.com/user/repo.git
Example 2: git connect to remote repository
git init
git commit -m "[message]"
git remote add origin "github repository link"
git push -u origin master