Don't use push --force, use push --force-with-lease. Then you avoid accidentally undoing unexpected new commits on the remote.
git diff origin/your-branch..your-branch
to check whether you have made any unintentional changes to the code. For the commits themselves, you can do something like: git log origin/master..origin/your-branch
and git log origin/master..your-branch
to see if the commits differ. You can use the -p switch on the git log commands to see if the diffs have changed. If you do this before pushing up to the remote, then it's much easier to see what you're going to change before you run git push -f.(One of the features of git that I struggle to understand isn't a deal-killer for its adoption is the lack of repo access control; if you want this you have to implement it manually through PRs)