Helper function to pull from remote

def _pull(self):
        '''
        Helper function to pull from remote
        '''

        pull = self.m(
            'pulling remote changes',
            cmdd=dict(cmd='git pull --tags', cwd=self.local),
            critical=False
        )
        if 'CONFLICT' in pull.get('out'):
            self.m(
                'Congratulations! You have merge conflicts in the repository!',
                state=True,
                more=pull
            )
        return pull