git reset --soft HEAD~1 git push origin YOUR_BRANCH_NAME -f
First You need to remove that commit locally.
git rebase -i HEAD~2
and delete the second line within the editor window that pops up.
Then, force push to github by using
git push origin branch_name -f