Fix lock method args
Finish GitAdapterHooks rename