The Hermitian modular group and the orthogonal group