Sponsor

Git - URL Origin for a Cloned Repository

Overview

 The following git command prints the URL origin for a cloned repository.

git command

		
git remote show origin
            

Solutions Source

This tip is a summary of the StackOverflow answer found here:

http://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repository-was-originally-cloned-fr