Try with mamba install -c conda-forge m2-git instead of conda install m2-git
mamba install -c conda-forge m2-git
conda install m2-git