Edit your

/path/to/torch/install/share/lua/5.1/luarocks/fetch/git.lua

changing

rockspec.source.url

to

rockspec.source.url:gsub(“^git://”, “https://”)