/usr/local/bin/git-quick-stats: line 2: $ \r : command not found
A: You can run the dos2unix app in cygwin as follows:
/bin/dos2unix.exe /usr/local/bin/git-quick-stats. This will convert the script from the CR-LF convention that Microsoft uses to the LF convention that UNIX, OS X, and Linux use. You should then should be able to run it as normal.
Q: How they could be used in a project with many git projects and statistics would show a summary of all git projects?
A: If you want to include submodule logs, you can try using the following: