<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>How do I list the files that would be changed?</div></div></blockquote><div><br></div><div>git diff --name-only @{u} </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>How do I diff the files that would be changed?</div><div><br></div></div></blockquote><div><br></div><div>git diff @{u} </div><div><br></div><div><br></div><div>Your &quot;local copy of the remote branch&quot; (which is referenced by @{u}) should be updated, so maybe you want to do &quot;git remote update&quot; first or &quot;git fetch&quot;. But if you already did it in your first command, it is not necessary to do it again.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"></div></blockquote><div> </div></div></div></div>