def remote_get(self, remote='<STR_LIT>'):
try:<EOL><INDENT>ret = self.run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', remote])<EOL>lines = ret.split('<STR_LIT:\n>')<EOL>remote_fetch_url = lines[<NUM_LIT:1>].replace('<STR_LIT>', '<STR_LIT>').strip()<EOL>remote_push_url = lines[<NUM_LIT:2>].replace('<STR_LIT>', '<STR_LIT>').strip()<EOL>if remote_fetch_url != remote and remote_push_url != remote:<EOL><INDENT>res = (remote_fetch_url, remote_push_url)<EOL>return res<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT><DEDENT>except exc.LibVCSException:<EOL><INDENT>return None<EOL><DEDENT>
Get the fetch and push URL for a specified remote name.

        :param remote: the remote name used to define the fetch and push URL
        :type remote: str
        :returns: remote name and url in tuple form
        :rtype: tuple