Extract methods in GitNotifier