To save myself the annoyance of having to git fetch (I work on multiple repos every day) I am creating a cron job that runs git fetch in each of my repos. I would like to do it every 15 minutes. So it's possible that git fetch will be run at the same time as I am doing other git operations (add, commit, rebase, etc.) Can that cause issues?
#!/bin/bash
for repo in <repos>; do
pushd $HOME/$repo
git fetch
popd
done
date >> /var/cache/git-fetch-all-repos/fetch-times