Git Credentials storage with libsecret

Ich habe da jetzt zweimal nach gesucht und speichere mir das daher hier..

Auf der git-doku seite wird für linux kein weg erwähnt… daher hier dieses: https://askubuntu.com/a/959662

gnome-credential-helper is now deprecated.
Instead, use libsecret. If it's not already buil-in your ubuntu, use the following procedure:
You can install libsecret and the development libraries with:
sudo apt-get install libsecret-1-0 libsecret-1-dev
Then you need to build the credential manager
cd /usr/share/doc/git/contrib/credential/libsecret
sudo make
Finally, you should point git to the newly created file in your config:
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
More details on https://stackoverflow.com/a/40312117/2017781