Development environment
Prerequisites
Moodle work directories
Start with a bare clone:
gh repo clone moodle/moodle -- --bare
Next, create a work directory for each major Moodle version you intend to work with:
git worktree add ../moodle-master master
git worktree add ../moodle-4.3 MOODLE_403_STABLE
git worktree add ../moodle-4.2 MOODLE_402_STABLE