Here's how I keep my cloned Leo-Editor GitHub repo up to date. I cloned my github repo using GitHub to do it so it was created in my own GitHub repository. Then I cloned Leo-editor from my own Github site to my computer. It got linked to the my GitHub version under the name "origin". The official Leo-Editor repo is linked under the name "upstream". I forget exactly how I did it, and I used the Get-Extensions program and you don't. But I know it's not hard to do the same thing by hand with git itself.
To update , I check out my local devel branch and fetch/merge from upstream Leo-Editor. Then I push that my origin repo.
Do you mean the sitecustomize folder on your computer? Python can also use a usercustomize folder, which seems better. Either way, why does this scheme make any difference so far as GitHub is concerned?
I don't actually use either folder, because I would have to create a new one for each version of Python I install, and then I couldn't easily keep them all synced. Instead, I have created a "pycustomize" folder - any name would do - and in the user's site-packages of each Python installation I point to it with a "custom.pth" file. This file contains only this:
..\..\
This causes Python to scan the parent directory of your particular Python version, and it picks up your Python files in "pycustomize". This works for standard Windows installs since the typical directory structure is like this:
%APPDATA%
Python
pycustomize <------ my added directory
Python3.10
Python 3.11
Python 3.12
Scripts
site-packages
custom.pth <------- my .pth file
(python library packages)
So all versions of Python can access the same version of my code.
If you meant some other sitecustomize folder, then I don't understand what that is. Please explain more.