git push smaples code example Example 1: git push origin master --force git push origin --force Example 2: git push git push -u githubrepo master