add support for downloading branches other than master