<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def git_ls_files(filename):
 """ Return a boolean value for whether the given file is tracked by git. """

    with chdir(get_root()):
        # https://stackoverflow.com/a/2406813
        result = run_command('git ls-files --error-unmatch {}'.format(filename), capture=True)
        return result.code == 0