SET OD=%CD% FOR /d %%i in (*) do CD "%%i" && git pull & CD %OD% PAUSE
Update GIT in All Subfolders
Here’s a handy DOS command to update all your GIT repos within the subfolders of the current directory.