I am working on a git repository which contains huge number of files changed b/w one commit to another, how to extract the number of files changes b/w commits.
Apart from the above listed methods you can do this too:
git diff HEAD^..HEAD --name-only - will give the list of files changed between HEAD and one revision before HEAD (HEAD^). You can replace HEAD^ with a SHA1 of the "from" commit and HEAD with the SHA1 of the "to" commit:
git diff
So if you pipe the output to wc -l it should give you the number of files changed between commits.