xxxxxxxxxx
git commit --amend -m "New commit message"
Then
git push --force
xxxxxxxxxx
git commit --amend -m "New commit message"
Then
git push --force
and you're done
xxxxxxxxxx
****Change commit message before push****
git commit --amend -m 'Changed commit message'