Open In App

Git diff

Last Updated : 11 Nov, 2025
Comments
Improve
Suggest changes
1 Likes
Like
Report

git diff is a command-line tool in Git that shows the differences between various states of a repository. It helps developers see what changes have been made, whether they are between working directory and the staging area, between the staging area and the last commit, or between any two commits.