How to Solve NameError: name 'check_output' is not defined -- git_remote_helpers
Solution: Import the 'check_output' module
# Add the following line to the top of your code
from git_remote_helpers.util import check_output
For more information:
git_remote_helpers check_output