+6 votes
1 view
in DevOps and Agile by (20k points)
edited by

I pulled a project from GitHub a few days ago. I've since discovered that there are several forks on GitHub, and I neglected to note which one I took originally. How can I determine which of those forks I pulled?

1 Answer

+6 votes
by (28.4k points)
edited by

Tip to get only the remote URL:

git config --get remote.origin.url

In order to get more details about a particular remote, use the

git remote show [remote-name] command

Here use,

git remote show origin

For more information about installation of git and common git commands please go through the following link:


Welcome to Intellipaat Community. Get your technical queries answered by top developers !