git push --rename origin code example Example: how to rename origin in git git remote rename beanstalk origin