refactor(git): reduce boilerplate code