Question: `git mv` renames a file or directory in a repository. How do I rename the Git repository itself?

Answer: 
1. Go to the remote host (e.g., <https://github.com/><User> ).
2. Open repository
3. Click tab *Settings*.
4. Rename under *Repository name* (and press button `Rename`).
@[Parison](https://stackoverflow.com/a/29668794/17756708)

```
Server Side: mv oldName.git newName.git
Client Side: ./.git/config change [remote "origin"] | url to newName.git

```