Maybe the problem is that the lib that can be installed with apt is not updated to the latest version of git yet, and it works fine if you install it from the git source.
So I’m going to change the process to the following
- Try it with a lib you got with apt (it’s expected to not work properly. Continue with the test in 4)
- Try it with a lib you got with git (it’s expected to not work properly.)
- Try with a modified lib in a clean environment. (It is expected to work properly.)
- Uninstall the apt lib introduced in step 1, and try the modified lib. (Same as above.)