diff files in different repositories

Shell
git remote add -f b path/to/repo_b.git
git remote update
git diff master remotes/b/master
git remote rm b
# this is for two different repos
Source

Also in Shell: