A local branch:-
\'feature/100\'
And Remote branches:-
\'master\'
\'Version2\'
Accid
You can either:
Revert your change
git revert HEAD
This will create a new commit that reverts the changes that you just pushed up to master. This is the safest option because other people may have already pulled down the change that you have pushed up.
Change your commit history and force push the change
You can remove the commit that you just pushed up with:
git reset --hard HEAD~1
git push origin master --force
You don't want to do this unless you're absolutely sure that no one has pulled down your changes from master.
For more info, see Delete commits from a branch in Git