Git check-out from ant target or python
I would make with ant - it standard tool for Java-platform. May be generate ant from python or other one. Lack of this manner is not flexible of ant by comparison with Python.
Lack of Python-based solution is greater complexity of deployment in future: for linux good practice make packet, for Windows you have install python and libs manually.
During our build , we call ANT from our Python .For code checkout,We have two options to checkout code from Git.

Pull code directly from Python script
Make an ANT target to pull code , Call that target from Python.

Can anyone please brief about pros and cons of both approach. I am new to all three tech.
Thanks