some mashery of code for a git class