add GitNameLockMixin

A mixin that reads the gitconfig and uses the gitconfig user.name
as the content of the lock file