Decode github payload and add swicth to select which branch need to update.