git push -u origin master code example
Example 1: git reset to origin/master
git reset --hard origin/master
Example 2: git push origin master --force
git push origin --force
Example 3: git remote list
git remote -v
Example 4: git connect to remote repository
git init
git commit -m "[message]"
git remote add origin "github repository link"
git push -u origin master