How do I show origin url in Git to find the original clone source of a local repo?

I cloned a GitHub project that has multiple forks, but I forgot which fork I originally pulled from.

Is there a way to show origin URLin Git (or something similar) to check the remote URL and identify the exact fork or origin I cloned?

Looking for a simple Git command to show this info from the local repo.

You can use the classic git remote -v command, which gives you both fetch and push URLs for your remotes. It’ll look something like:

origin  https://github.com/username/repo-name.git (fetch)
origin  https://github.com/username/repo-name.git (push)

This is the easiest way to spot which fork or upstream repo your local clone came from. It works regardless of whether the project has been updated or changed since.