Fixed bug with default git protocol, and check if protocol is specified through commandline.