This was working for me previously, but it recently stopped.
git clone https://<Github id>:<GitHub PAC>@github.com/<org>/<repo>.git#<commit id>
If I take off the #, it works. In addition, is there a way to only clone a subdirectory? I’m trying to do this all in one line in a Docker Compose build context line without having to write a script that’s run in the Dockerfile.