How can I compare my local forked repository with changes that may have been made to the original?
I want to compare the local clone of a repository I have forked with the original/upstream repository to see if further commits have been made requiring me to pull/merge. I'd like to do this from the command line. I added the original repository to my list of remotes with this command: git remote add upstream <original repo URL> This is outlined in Github's own page on the topic of forking a branch . However, when I run git diff upstream or git diff upstream/master as advised here or git diff master upstream/master as advised here , I get this: fatal: ambiguous argument 'upstream': unknown