override branch in hook to the currently checked out