How to change git path in local repo if remote git url has changed?

Prereq- .git folder is hidden thus we need to enable it

Step 1 – Go to .git folder of your repository

Step 2 – locate a file called “config” inside .git repo

Step 3 – Open a “config” file and correct a path