# No CLI required — done in browser:
# 1. Go to your repo on GitHub
# 2. Click "Settings"
# 3. Change "Repository name"
# 4. Click "Rename"
# Check current remote
git remote -v
# Change remote URL (HTTPS)
git remote set-url origin https://github.com/<USERNAME>/<NEW_REPO_NAME>.git
# OR (SSH)
git remote set-url origin git@github.com:<USERNAME>/<NEW_REPO_NAME>.git
# Confirm new remote URL
git remote -v
# Test connection
git fetch
# Push to confirm everything works
git push
# Go one level up
cd ..
# Rename folder
mv <OLD_REPO_NAME> <NEW_REPO_NAME>
# Enter renamed folder
cd <NEW_REPO_NAME>