git how to rename git repo fro cli code example Example: rename github repository command line $ git remote set-url origin new_url