Safe
git diff --stat $(git merge-base origin/main HEAD)cross-platform · bash · Expert
Summarises what your branch changed relative to where it diverged from main. Command substitution is a genuine danger signal in general, but here the inner command is git itself and its output is a commit hash, not code.
Think you can spot these under time pressure?
Start Training