code: def commits(self):
          
          return CommitsDataFrame(self._engine_dataframe.getCommits(), self._session, self._implicits)
docs: Returns the current DataFrame joined with the commits DataFrame. It just returns
          the last commit in a reference (aka the current state).
  
          >>> commits_df = refs_df.commits
  
          If you want all commits from the references, use the `all_reference_commits` method,
          but take into account that getting all the commits will lead to a lot of repeated tree
          entries and blobs, thus making your query very slow.
  
          >>> commits_df = refs_df.all_reference_commits
  
          :rtype: CommitsDataFrame