How can I rename my last commit, which I already synchronized with github?
This doesn't work:
git commit --amend -m "New name"
When the command completes displays the new name. But if I synchronize a project with github, then displayed again old wrong name.