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