To edit git config
git config --global --edit
To delete specific commit from remote
git revert <commit_id> #Without Hash git commit -m 'message' git push