I'm working on an install profile right now in Drupal (https://www.drupal.org/sandbox/jnicola/3277854). I want to while developing the next project we're on also build this out during the initial part of building our site out.
I can load the sandbox project via composer no problem, and it's checked out via git, but when I run git status I get "HEAD detached at 56eaaa5"
I'd like the sandbox repo to be checked out on the active development branch, and I want to be able to work inside of that project inside of Drupal in general.
It is fairly important that this is brought in via composer as well, since I will be adding modules requirements into the sandboxes composer.json file for the overall project, so I believe bringing in the repo as a "submodule" wouldn't work, even though that is the desired functionality.