UPDATED: Converted the --remotes and --all options to their short form (-a and -r) to allow compatibility for versions of git lower than 1.7.7