From: Junio C Hamano Date: Mon, 03 Mar 2008 09:06:05 GMT Subject: Re: How are the same file modified on different brances stored physically? Message-ID: <7vskz8i3cy.fsf@gitster.siamese.dyndns.org> In-Reply-To: <15799383.post@talk.nabble.com> amishera writes: > I am trying to figure out how stuffs work behind the scene. We know that we > can switch branches freely and then work on the switched branch. If the same > file is modified on two branches then how are the two copies of the two > branches saved? They are saved separately, and depending on which branch you check out, the appropriate one for that branch is given to you.