How do I Rename Github repo from command line

I want to use the command line to rename my repository and have the changes reflect both my local and remote environment workspace.

Does anyone know how to do this

I’m guessing that you have googled this and followed the instructions that you found. Can you tell us what problems you ran into?