code: def smart_pull(self):
          
          branch = self.get_current_branch_name()
  
          self.git_exec(['fetch', self.remote.name])
  
          return self.smart_merge('{0}/{1}'.format(self.remote.name, branch),
                                  self.smart_merge_enabled())
docs: 'git log --merges origin/master..master'