How to install git credential manager core on Ubuntu 24.04

This will installĀ git credential manager core on Ubuntu 20.04…24.04

wget "https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.6.1/gcm-linux_amd64.2.6.1.deb" -O /tmp/gcmcore.deb
sudo dpkg -i /tmp/gcmcore.deb
git-credential-manager configure