Thanks guys for your comments. I fixed it by uninstalling git and installing it "apt-get install git".
The problem was that VM Bitnami-LAMP came with pre-built git, which I guess was not built with PERL. I checked my PERL version and everything is fine. Anyway, all is well.
source
to share