parsing default ref and branch