Simply put, I have a library with a module. I can install it locally with opam install . in the local version of the GitHub repository without issue and use it
opam install .