check all the pushes made to git repo code example
Example 1: git push origin master --force
git push origin --force
Example 2: git push branch
git push -u origin <branch>
git push origin --force
git push -u origin <branch>