title: Git check-out from ant target or python
body: <p>During our build , we call ANT from our Python .For code checkout,We have two options to checkout code from Git.</p>
  
  <ol>
  <li>Pull code directly from Python script</li>
  <li>Make an ANT target to pull code , Call that target from Python.</li>
  </ol>
  
  <p>Can anyone please brief about pros and cons of both approach. I am new to all three tech.</p>
  
  <p>Thanks</p>