how to change repository name in git after changing it in github code example Example: rename github repository command line $ git remote set-url origin new_url