Added git to core packages, and enabled rewrite on apache