git check remote connection code example
Example 1: git remote list
git remote -v
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
git remote -v
git init
git commit -m "[message]"
git remote add origin "github repository link"
git push -u origin master