2 Ways to save your life when you confused push any code or file to your branch.
Way 1 1. Find your committed hash by : git log 2. After found your commit hash you need revert it by : git revert 3. choose one at bellow with responsibility: ⸻

Way 1
1. Find your committed hash by :
git log
2. After found your commit hash you need revert it by :
git revert
3. choose one at bellow with responsibility:
⸻