Python Git examples
from sh import git
git.init(self.__path)
git.pull('-f', '-u', 'origin', 'master')
git.clone(repo, 'ssh@github.com/blah/blah.git')
git.commit('-m', message, '.gitmodules', self.ROLES) or git("commit", "-m", "Initial commit")
git.push('origin', 'master')
git.add(some_file, f=True)
git('checkout', '-b', fix_branch)
git('checkout', 'production')