Custom edx-platform git repository on your Open edX deploy (devstack)

If, despite the configuration of the /edx/app/edx_ansible/server-vars.yml file, the update script continues to fetch data from the edX repository (rather than the one you configured), then you can manually push the new origin into the repo:

cd /edx/app/edxapp/edx-platform
git remote set-url origin you_repo
sudo /edx/bin/update edx-platform master