How to install git credential manager core on Ubuntu 22.04 / 20.04
- Download the GCM
wget "https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.5.0/gcm-linux_amd64.2.5.0.deb" -O /tmp/gcmcore.deb
- Execute the installable file
sudo dpkg -i /tmp/gcmcore.deb
- Configure GCM
git-credential-manager configure
- Configure the GCM store
git config --global credential.credentialStore plaintext
or
export GCM_CREDENTIAL_STORE=plaintext