Git and GitHub when things go wrong: two questions before you rewrite or delete
Before any Git command that rewrites or deletes, ask who else has those commits and where your work is stored. Merge, rebase and recovery, tested case by case; forcing, from the documentation.
Te
Team Nippysoft