tweak how git handling functions work in recipe