- Move the project to a local drive and try pushing again. Network drives can cause permission or connectivity issues that interfere with TLS.
- Update the Git client used by MATLAB. Either update MATLAB itself or configure it to use a newer, system-installed Git version.
- Check for multiple Git installations. MATLAB might be using an outdated version. Ensure your system’s PATH points to the correct Git, or set it explicitly in MATLAB preferences.
- Reconfigure Git’s SSL backend by running:
- Temporarily disable firewall or antivirus software to test if they are blocking encrypted traffic. If the push works, add an exception for your Bitbucket server.
- https://www.mathworks.com/help/matlab/matlab_prog/set-up-git-source-control.html
- https://www.mathworks.com/help/matlab/source-control/git/use-git-in-matlab.html
- https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpsslBackend