Explain it in 60 seconds
Viewing differences with git diff
Cloud & DevOps · Git and Version Control · Beginner
How do you use git diff to see changes?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- git diff: unstaged changes.
- git diff --staged: staged changes.
- git diff branch1..branch2.
- Compare commits.
- Review before committing.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.