git setting a remote code example
Example 1: get git remote url
git config --get remote.origin.url
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