Installing libgit2 dependency on travis

and not installing tree because we don't really need it (was added a
while ago to aid with debugging)