Implement some low-level git utility functions
Merge branch 'master' of gh:sagemath/sage-workflow