fixed #5: Google authentication logic.
#18: Validation code for remote rm and pull.
#18: Validation code for remote add.
#4: Made the remote selection simpler.
#18: Validation code for branch, checkout and init.