Git cheat sheet Posted on November 11, 2013May 28, 2020 by Tessa (the external) git pull – updates your code git diff git diff –cached – compare locally staged commits git diff master origin/master – compare local repo with remote repo