Diff

git remote add <id> <path>.git.

git remote add <id> <path>.git
git git fetch <id>
git git diff [repo_id\]<branch> [repo_id\]<branch>

Git diff HEAD^^ myfile.

Compare any.

git diff --no-index <A> <B>

Whole directory.

Any.

Updated: 2026 Aug 19