code: def commit(self, message=None, amend=False, stage=True):
          
          return git_commit(self.repo_dir, message=message,
                            amend=amend, stage=stage)
docs: Commit any changes, optionally staging all changes beforehand.