As mentioned online, I have added it to both the local .git/config and the global .git/config
[credential] helper = store
It still doesn’t work, I still have to enter my username and password every time