How to install git credential manager core on Ubuntu 22.04 / 20.04

This will installĀ git credential manager core on Ubuntu 22.04 or Ubuntu 20.04

wget "https://github.com/GitCredentialManager/git-credential-manager/releases/download/v2.0.696/gcmcore-linux_amd64.2.0.696.deb" -O /tmp/gcmcore.deb
sudo dpkg -i /tmp/gcmcore.deb
git-credential-manager-core configure