<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _format_git_opts(opts):
    '''
    Do a version check and make sure that the installed version of git can
    support git -c
    '''
    if opts:
        version_ = version(versioninfo=False)
        if _LooseVersion(version_) < _LooseVersion('1.7.2'):
            raise SaltInvocationError(
                'git_opts is only supported for git versions >= 1.7.2 '
                '(detected: {0})'.format(version_)
            )
    return _format_opts(opts)