I used phing and it's very easy to connect to git, just write a config xml file and you're ready to go.
for example, this is a snippet of a git clone within the xml file:
<gitclone
repository="{rep path}"
targetPath="{target on local}" />