made github api, raw and zip URLs optional and added branch parameter