UPDATED: Got the branch command compatible with GIT versions lower than 1.7.7

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