git make local branch tracking origin Feb 2, 2011 git git branch --set-upstream master origin/master you obtain the same result as initial cloning