how to find the difference between two files in git?
git diff --cached [filename] // compare the index with local repository. You can also compare files between two different commits. Every commit in Git has a commit id which you can get when you give git log. Then you can use the commit id if diff command like this.