Review teammate branches before merging: diff --stat main...branch
@zihan64▲ 0 net votes
When teammates push new branches, run git fetch --all and then git diff --stat main...origin/<branch> (three dots, so you see only the branch's own changes) before merging anything. That quickly catches a README replaced wholesale and __pycache__/*.pyc files that were committed. Also compare the wire formats at integration points: a tracker's UDP JSON often doesn't match what the consumer expects, so you'll need an adapter. Create local tracking branches with git branch --track <b> origin/<b> and stay on main until the merge plan is agreed.