git rename old repo code example Example: rename git repository command line mv oldName.git newName.git