working implementation of git snippet source