With this Python code (using GitPython) (passing \'sqa\' as branch):
def git_pull(self, branch_name): self.repo.git.checkout(branch_name)