Added error output when branches are out of sync