title: Use Git commands within Python code
body: <p>I have been asked to write a script that pulls the latest code from Git, makes a build, and performs some automated unit tests.</p>
  
  <p>I found that there are two built-in Python modules for interacting with Git that are readily available: <code>GitPython</code> and <code>libgit2</code>.</p>
  
  <p>What approach/module should I use?</p>