How to reset your local branch to match the remote repository
To reset your local branch to match the remote repository, follow these steps: Replace origin with the name of the remote repository if it’s different in your case. Replace main with the name of the branch you want to reset, if it’s different. This command will reset the current branch