Cloning the mavlink/c_library.git submodule in the ArduPilot repository fails

hello my name andreas from Indonesia.

So I want to create an autonomous drone simulation, with ROS, Ardupilot, and Gazebo in docker, after I create the ROS container, when running:
sudo apt install git
git clone GitHub - ArduPilot/ardupilot: ArduPlane, ArduCopter, ArduRover, ArduSub source
cd ardupilot
git checkout Copter-3.6
git submodule update --init --recursive

I get a failure message:
fatal: clone of ‘git://github.com/mavlink/c_library.git’ into submodule path ‘/ardupilot/modules/PX4Firmware/mavlink/include/mavlink/v1.0’ failed
Failed to clone ‘mavlink/include/mavlink/v1.0’ a second time, aborting
Failed to recurse into submodule path ‘modules/PX4Firmware’
Failed to recurse into submodule path ‘modules/PX4Firmware’

what is the solution, and please advise and opinions for my project

I strongly advise you to use Copter-4.5 instead of Copter-3.6