some mods for git and magit