git checkout faulty_branch
git reset --hard master
If you have faulty_branch
pushed to a remote you may also need to:
git push --force
git config --get remote.origin.url
Alternatively you can also try (which will give a full origin):
git remote show origin