...
back=`pwd`; for d in `find . -type d -name .git`; do cd "$d/.."; pwd; git co develop; git pull; cd $back ; done
Rudimentary SLOC count (java files only)
find . -name "*.java" | xargs egrep -v -h "^\s*[//|/*|*/]" | egrep -v "^\s*$" | wc -l
...
back=`pwd`; for d in `find . -type d -name .git`; do cd "$d/.."; pwd; git co develop; git pull; cd $back ; done
find . -name "*.java" | xargs egrep -v -h "^\s*[//|/*|*/]" | egrep -v "^\s*$" | wc -l