gather git subs
move git subs to Git.p
fix segfault caused by remove_effect()