If a monorepo was "just a set of folders that are basically independen NPM packages" everything is "easy" **
Then it's just as if you had a github repo for each folder in your repo.
** Easy after you understand npm packages that is, which is somewhat non-trivial, but at least there are basically rules each package.json files follows to get things done)
But monorepos quickly go beyond this, in ways that can go from 0 to 100% insane pretty fast
Examples of "basic things that monorepos do" that are actually quite weird