calling subprocess in git.py via Popen to enable compatibilty to python 2.6