You mean a force push. `git push --force` is one of my favorite commands. I've aliased `git yolo` to `git push --force --no-verify`.
If they have, you can fetch, see if you still want to overwrite that branch, and if so run it again.
I hope you do not work on missiles or on passenger aircrafts!
No judgment, nobody is born knowing this stuff, just that I'm surprised to hear this is still out in the wild.
these shops don't understand the benefits version control offers when it comes to code review and maintenance patches on old versions of the software, or vendor-specific streams for your software.
I have seen it as files on a shared drive. I have seen it as files on a sharepoint drive. I have seen it as files inside of an SVN repository.