How to find a url for a local GIT repo
Git command that could get you the url
from origin
$git config --get remote.origin.url
But you would not be able to set a new path
$git config remote.origin.url "newPath"
This would fail with the message error: could not lock config file ./config: File exists
In your home directory do less .shh/config
then you can see the URL for foo
.
If it is not there you can try git remote show
and then probably git remote show origin
.
Do you remember how you cloned this repo, can you past the command here?