We have branches origin and develop. The initial state of master was tagged at tag_ABC.
tag_ABC
We have few changes made to the develop branch and pushed to or
You can do
git checkout master git reset --hard tag_ABC git push --force origin master
Please note that this will overwrite existing history in the upstream repo and may cause problems for other developers who have this repo checked out.