How to add a hook that will keep a branch B up to date with branch A whenever new commits are added to A?