how to get git commit count code example Example: find total commits in git git rev-list --all --count