Git commit logger for daily stand-up meeting
A much much much much better way of doing this is:
find . -type f -exec git --no-pager log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cD) %C(bold blue)&lt;%an&gt;%Creset' --since yesterday {} --author $gitUsername \;
And a cleaner way to write long statements it to add '\' to break into new lines.
find . -type f \
-exec git --no-pager log --pretty=format: \
'%Cred%h%Creset -%Creset %s %Cgreen(%cD) %C(bold blue)&lt;%an&gt;%Creset' \
--since yesterday {} \
--author &quot;${gitUsername}&quot; \;

This way, 7 lines are written as 1 and to stdout.

--no-pager returns everything to your terminal stdout instead your editor.
find . says which directory to search in, so a for loop may be useful to only search desired directories
Also, explicitly defining the desired dirs will remove the need to redirect to stderr and when useful errors are displayed, will be meaningful to you.

https://linux.die.net/man/1/find
https://www.golinuxcloud.com/find-exec-multiple-commands-examples-unix/