gp.sh: branch via command line parameter

Added support passing in the branch via a command line parameter to `gp.sh`