Docker Compose Context using GitHub URL with Commit Id

I created a Docker Compose file with a GitHub URL in a context and the commit id like:

${GIT_CREDENTIALS}/${ORG}/${REPO}.git#${COMMIT_ID}

This wasn’t working for me earlier and just started working again. I was told on SO that the commit ID is not supported. I do see in the Docker documentation that branches, folders, and tags are supported, but there’s no mention of commits. Is this something that is missing in the documentation?