The script below will recursively scan a base directory and find all Git and SVN repos, and update them.
Add a crontab entry to call this script every day if you like.
#!/bin/bash
BASEDIR=${HOME}/pentest
# Updating git repos
for d in `find ${BASEDIR} -type d -exec test -d '{}/.git' \; -prune -print`; do
cd "$d"
echo Updating `pwd` ...
git pull
done
# Updating SVN repos
for d in `find ${BASEDIR} -type d -exec test -d '{}/.svn' \; -prune -print`; do
cd "$d"
echo Updating `pwd` ...
svn up
done
That's all.