To determine the URL from which local Git repository was originally cloned from use the git config --get remote.origin.url
git config --get remote.origin.url
To determine all details of a remote repo use git remote show origin
This will all origins of git repo and all tracked and untraked branches also tells the state on current branch.
git remote show origin