Add git to makedepends

git is not part of base-devel so it cannot be assumed to be installed on a clean build server.