shell script to iterate through directories and git pull --rebase