From: Kristian Amlie Date: Mon, 15 Jun 2009 11:57:53 GMT Subject: Re: How can i find the origin of a branch? Message-ID: <4A363741.9030604@nokia.com> In-Reply-To: <2f3bf9a60906150437v765c2cecva61307ae9cf0cec7@mail.gmail.com> ext Dotan Barak wrote: > Hi. > > Is it possible to find the origin of a branch? > (the remote repository that this branch was cloned and checked out from) git config -l Assuming you're on the master branch, branch.master.remote and branch.master.merge will tell you which remote and which branch you are tracking. Assuming that the remote is origin, you can check remote.origin.url to see the URL of the repo. -- Kristian